Last active
October 8, 2018 00:38
-
-
Save TaylorAckley/f95004d3d6066996ed79b095e9adad64 to your computer and use it in GitHub Desktop.
MVC - Index.js
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
const express = require('express'); | |
// other libs and middleware | |
const app = express(); | |
// pass the instance of our app to the routes. | |
require('./routes/routes.index.js')(app); | |
app.listen(5050); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment