Created
January 22, 2022 08:20
-
-
Save mr-pascal/62a34ac10058c1df8fee9dc6c48ef637 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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