Created
February 11, 2020 10:28
-
-
Save fire-cracker/255d08af2d2f33c0a123507ee287a12e 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('/musics', (req,res,next) => { | |
res.status(200).send(['Jesus', 'I love to praise your name', 'My Story', 'Days of Elijah']) | |
}) | |
app.listen(8000, () => { | |
console.log('Server running on 8000') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment