Created
February 25, 2019 04:45
-
-
Save herudi/7ca0f56e8885af56f75f69f3411bdbda to your computer and use it in GitHub Desktop.
This file contains hidden or 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 router = require('./routes/router'); | |
var app = express(); | |
app.use(express.json()); | |
app.use(express.urlencoded({ extended: true })); | |
app.use('/', router); | |
app.listen(3000, function(){ | |
console.log('port 3000') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment