gulp.task('browser-sync', function() {
browserSync.init({
server: {
baseDir: "./client"
}
});
gulp.watch("./client/**/*.html", browserSync.reload);
gulp.watch("./client/**/*.js", browserSync.reload);
});
var config = {}
config.database = {};
config.server= {};
config.database.user = '';
config.database.password = '';
config.database.server = '';
config.database.database =
config.database.options = {
};
config.server.port = ;
module.exports = config;
var appConfig = require('./server/config/config');
...
app.set('port', appConfig.server.port || 8080);
...