Created
November 13, 2018 23:26
-
-
Save iagocavalcante/e3e8602159fb02ea181bda338514ceb5 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
const express = require('express') //importacao do pacote | |
const app = express() //instanciando express | |
app.get('/', function (req, res) { //endereco da requisicao onde e retornado hello world | |
res.send('Hello World') | |
}) | |
app.listen(3000) //execucao do servidor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment