Last active
March 7, 2018 03:22
-
-
Save rcgalbo/231643541645044d6ae630f7d379df01 to your computer and use it in GitHub Desktop.
express app boilerplate
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 bodyParser = require('body-parser'); | |
var app = express(); | |
app.set('view engine', 'ejs'); | |
app.use(bodyParser.urlencoded({ extended: false })) | |
app.listen(4000, function() { | |
console.log('server is listening!!'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment