Created
March 23, 2020 15:12
-
-
Save felipegenuino/1c04a2b425c3ea186ec0ea543bfa9d6c to your computer and use it in GitHub Desktop.
Basic express
This file contains hidden or 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
const express = require('express'); | |
const app = express(); | |
app.get('/', (request, response)=>{ | |
return response.json({ | |
evento: 'Semana Corona Virus', | |
aluno: 'Felipe Genuino' | |
}) | |
}) | |
app.listen(3333) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment