Skip to content

Instantly share code, notes, and snippets.

@bablukpik
Last active February 7, 2019 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bablukpik/d40e69aa427988e27fe6bcd61aaa341a to your computer and use it in GitHub Desktop.
Save bablukpik/d40e69aa427988e27fe6bcd61aaa341a to your computer and use it in GitHub Desktop.
The top 3 JavaScript templating engines:
https://www.npmjs.com/package/underscore
https://www.npmjs.com/package/handlebars
https://www.npmjs.com/package/ejs
//v.01
//var express = require('express');
//var app = express();
var app = require('express')(); //server creation
app.get('/bablu', function(request, response){ //response data
response.send('Hello world!!');
});
app.listen(80, function(){
console.log("Server is listening on :"+80); //the web server will run on this port
});
//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment