2018-03-07

{ "name": "web_test", "version": "1.0.0", "main": "index.js", "license": "MIT", "dependencies": { "express": "^4.16.2" }, "scripts":{ "start":"node index.js" } }

var express = require('express');

const app = express(); app.get('/',function(req,res){ res.send('ok'); res.end(); })

app.listen(80,function(){ console.log("The web server listen on port 80!!") })

JSRUN notes