Last active
January 18, 2016 08:03
-
-
Save VanTudor/9bb7cd7de55927bb5629 to your computer and use it in GitHub Desktop.
Express.js app.js default entry point
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 path = require('path'); | |
var app = express(); | |
var api = require('./api/api'); | |
/*..............................*/ | |
app.use('/api', api); | |
/*..............................*/ | |
module.exports = app; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment