Created
February 11, 2020 10:27
-
-
Save fire-cracker/7ec86cded7634abc8b10f9c866ebd702 to your computer and use it in GitHub Desktop.
This file contains 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
import express from 'express'; | |
let app = express(); | |
app.get('/users', (req, res, next) => { | |
res.send(["Tony","Lisa","Michael","Ginger","Food"]) | |
}) | |
app.listen(3000, () => { | |
console.log('Server running on 3000'); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment