Skip to content

Instantly share code, notes, and snippets.

@fire-cracker
Created February 11, 2020 10:28
Show Gist options
  • Save fire-cracker/255d08af2d2f33c0a123507ee287a12e to your computer and use it in GitHub Desktop.
Save fire-cracker/255d08af2d2f33c0a123507ee287a12e to your computer and use it in GitHub Desktop.
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