https://github.com/nodejh/scu_api
四川大学校园 API
https://github.com/nodejh/scu_api
Last synced: about 1 year ago
JSON representation
四川大学校园 API
- Host: GitHub
- URL: https://github.com/nodejh/scu_api
- Owner: nodejh
- Created: 2016-09-27T23:01:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T15:20:49.000Z (about 9 years ago)
- Last Synced: 2025-01-16T12:52:32.657Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://scuapi.nodejh.com/
- Size: 72.3 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 四川大学校园 API
## STATUS
重构中
## packages
+ mongoose
+ winston
## 日志记录
使用 winston 记录日志。
{ error: 0, warn: 1, info: 2, verbose: 3, debug: 4, silly: 5 }
+ silly 随便什么
+ info 关键信息,如用户注册成功等
+ error 错误信息,如数据库操作失败,异常等
## 代码结构
## TODO
+ 生成 token 的算法
+ 错误处理
+ 测试文档
+ logger 处理