Created
April 24, 2017 10:24
-
-
Save airbornelamb/0fd9fd274b0bf4cbe4d603d6237d1e32 to your computer and use it in GitHub Desktop.
Basic express skeleton
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require("express"); | |
var app = express(); | |
app.set("view engine", "ejs"); | |
app.get("/", function(req, res){ | |
res.render("home"); | |
}); | |
app.listen(process.env.PORT, process.env.IP, function(){ | |
console.log("Server Up"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment