【后端API篇】基于 React + NodeJS + Express + MongoDB 开发的一个社区系统
发布于 7 年前 作者 54sword 6297 次浏览 来自 分享

小度鱼(后端API篇)

介绍

小度鱼,是基于 React + NodeJS + Express + MongoDB 开发的一个社区系统 线上站点:https://www.xiaoduyu.com 前端源码地址:https://github.com/54sword/xiaoduyu.com 后端API源码地址:https://github.com/54sword/api.xiaoduyu.com

特点

  • 图片分离,图片上传至七牛
  • 支持 JWT(JSON Web Token)
  • 支持 SendCloud 发送邮件
  • 支持邮箱、QQ、微博注册登录

安装部署

不保证 Windows 系统的兼容性
目前无API文档,建议先配合前端源码一起使用

1. 安装 Node.js[必须] MongoDB[必须]
2. git clone git@github.com:54sword/api.xiaoduyu.com.git
3. cd api.xiaoduyu.com
4. npm install
5. cp config.default.js config.js 请根据需要修改 config.js 配置文件
6. make run
7. 访问 http://localhost:3000
8. 完成

开源协议

MIT

1 回复

不错 ,学习一下。

回到顶部