Last active
November 13, 2019 13:05
-
-
Save dmelechow/2c83e7d9c532eedb1848482ff96d48af 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
| 1. npm init | |
| 2. npm install express | |
| 3. node index.js | |
| content of index.js | |
| const express = require('express') | |
| const app = express(); | |
| app.get('/', (req, res) => { | |
| res.send('Hello World!') | |
| }); | |
| app.listen(8000, () => { | |
| console.log('Example app listening on port 8000!') | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment