SHOW:
|
|
- or go back to the newest paste.
1 | const express = require('express') | |
2 | const app = express(); | |
3 | const port = 8000 | |
4 | ||
5 | app.get('/' , (req,res) => res.send('Working!')) | |
6 | app.listen( port , () => | |
7 | console.log(`Your app is listening a http://localhost:${port}`) | |
8 | ); |