×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
1
Language: Javascript
Posted by: user7d204
Added: Jan 1, 2017 1:27 PM
Views: 14
Boilerplate for Express.JS
  1. var express = require('express');
  2. var app = express();
  3.  
  4. app.get('/', function (req, res) {
  5.   res.send('Hello World!');
  6. });
  7.  
  8. app.listen(3000, function () {
  9.   console.log('Example app listening on port 3000!');
  10. });
  11.