Last active
June 24, 2019 14:33
-
-
Save barmgeat/53815dec8ef5da94f93b8fe5f5b28c55 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
// in the controller controller.js | |
module.export = function(app){ | |
} | |
// in the app.js | |
var express = require('express'); | |
var controller = require('./controller/controller.js'); | |
.. | |
var app = express(); | |
controller(app); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment