Skip to content

Instantly share code, notes, and snippets.

@PabloEzequiel
Created March 9, 2017 02:06
Show Gist options
  • Save PabloEzequiel/f5560226e80f102c30b18481e1bf84e2 to your computer and use it in GitHub Desktop.
Save PabloEzequiel/f5560226e80f102c30b18481e1bf84e2 to your computer and use it in GitHub Desktop.
Servidor básico con NodeJS
// Start the server with express
var express = require('express');
var app = express();
app.get('/hello', function (req, res) {
res.send('Hello World!');
});
app.listen(3000, function () {
console.log('Places2go - listening on port 3000!');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment