Created
April 5, 2016 08:46
-
-
Save stableShip/03a46ec99740ec69f6d5cffd73304855 to your computer and use it in GitHub Desktop.
社区580随访系统基础环境
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
# 运行环境 | |
* [nodejs-v4.4.2 LTS](https://nodejs.org/en/download/releases/) | |
* Windows、Linux 或 MacOS 操作系统 | |
* [mongodb-v3.2.1]((https://www.mongodb.org/)) | |
* [redis-v3.*](http://redis.io/download) | |
## 服务器基础依赖 | |
``` | |
{ | |
"name": "sf_580", | |
"version": "0.0.1", | |
"description": "580随访", | |
"dependencies": { | |
"bluebird": "^3.3.4", | |
"body-parser": "~1.13.2", | |
"co": "^4.6.0", | |
"ejs": "~2.3.3", | |
"express": "~4.13.1", | |
"lodash": "^4.8.2", | |
"log4js": "^0.6.33", | |
"mongoose": "^4.4.10" | |
}, | |
"devDependencies": { | |
"should": "^8.3.0", | |
"supertest": "^1.2.0" | |
} | |
} | |
``` | |
使用express作为项目基础框架 | |
使用co+bluebird进行进行项目异步管理控制, | |
使用lodash强化函数式编程 | |
使用log4js进行日志管理 | |
使用ejs网页模板 | |
使用mongoose作为数据库连接库 | |
使用mocha+should+supertest构建项目单元测试框架 | |
co+express使用,可参考项目:https://github.com/mhbseal/blog | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment