##INSTALL##
$ mkdir myapp
$ cd myapp
npm init
npm install express --save
npm install express
nodemon index.js
##EXPRESS CONFIG##
var express = require('express'); var app = express(); // respond with "hello world" when a GET request is made to the homepage app.get('/', function(req, res) { res.send('hello world'); });
##SERVER CONFIG##
app.listen(3000, () => { console.log("server up"); })