1 Star 0 Fork 1

AndyLau/ITA_IOSC_MEAN

forked from Deliwib/ITA_IOSC_MEAN 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
app.js 658 Bytes
一键复制 编辑 原始数据 按行查看 历史
freedy 提交于 2016-08-24 11:24 . fix mongoose model register
'use strict';
var mongoose = require('./features/core/server/config/mongoose');
var config = require('./features/core/server/config/config');
var express = require('./features/core/server/config/express');
var passport = require('./features/core/server/config/passport');
//Create mongoose connection
mongoose(function (db) {
//Create express instance
var app = require('express')();
//Configure the passport middleware
//var passport = passport();
var port = config.server.port;
app = express(app);
app.listen(port, function(){
console.log('Server start at ' + new Date() + '. Listening on ' + port);
});
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fishwater/IOSC_MEAN.git
git@gitee.com:fishwater/IOSC_MEAN.git
fishwater
IOSC_MEAN
ITA_IOSC_MEAN
master

搜索帮助