var express = require('express');
var consign = require('consign');
var app = express();
consign()
.include('./config/middlewares.js')
.then('./config/boot.js')
.then('models')
.then('controllers')
.into(app);
Last active
September 19, 2017 02:01
-
-
Save fabianogoes/816190f0d4401df1d3fbddbea4947417 to your computer and use it in GitHub Desktop.
REST CRUD com NodeJS - Modularizando - index.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment