Skip to content

Instantly share code, notes, and snippets.

@alepoletto
Created June 24, 2016 04:58
Show Gist options
  • Save alepoletto/b0d04cf3da1a79aace9a6d31abf3b984 to your computer and use it in GitHub Desktop.
Save alepoletto/b0d04cf3da1a79aace9a6d31abf3b984 to your computer and use it in GitHub Desktop.
Node com Express Basico
var express = require('express');
var serveStatic = require('serve-static');
var app = express();
app.use(serveStatic(__dirname + '/build'));
console.log('Server started on port 3000');
app.listen(3000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment