Skip to content

Instantly share code, notes, and snippets.

@mr-pascal
Created January 22, 2022 08:20
Show Gist options
  • Select an option

  • Save mr-pascal/62a34ac10058c1df8fee9dc6c48ef637 to your computer and use it in GitHub Desktop.

Select an option

Save mr-pascal/62a34ac10058c1df8fee9dc6c48ef637 to your computer and use it in GitHub Desktop.
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
console.log('Received request');
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`Example app listening at http://localhost:${port}`)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment