Showing
2 changed files
with
9 additions
and
0 deletions
File moved
1 | +const express = require('express'); | ||
2 | +const app = express(); | ||
3 | +const port = 80; | ||
4 | + | ||
5 | +app.get('/', (req, res) => { | ||
6 | + res.send('Express Test'); | ||
7 | +}); | ||
8 | + | ||
9 | +app.listen(port, () => console.log(`app listening at http://localhost:${port}`)); | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment