Skip to content

Instantly share code, notes, and snippets.

@mathiasgheno
Created June 16, 2017 20:13
Show Gist options
  • Save mathiasgheno/9b1a86317e7db6d9293a34c974269e35 to your computer and use it in GitHub Desktop.
Save mathiasgheno/9b1a86317e7db6d9293a34c974269e35 to your computer and use it in GitHub Desktop.
just a simple server in express
var express = require('express');
var app = express();
app.get('/', function(req, res){
res.send('oi');
});
app.listen(80, function(){
console.log(' Servidor rodando na porta 80');
console.log(' Acesse o ip do servidor ou o domínio configurado');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment