Skip to content

Instantly share code, notes, and snippets.

@agusrichard
Created November 4, 2021 19:43
Show Gist options
  • Save agusrichard/50d21ccc480130f08c59747d4068cd57 to your computer and use it in GitHub Desktop.
Save agusrichard/50d21ccc480130f08c59747d4068cd57 to your computer and use it in GitHub Desktop.
import express from 'express'
const app = express()
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(5000, () => {
console.log(`Server listening on port ${5000}`)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment