fancy-store-server
fancy-store-server copied to clipboard
FancyStore后端服务
项目详情介绍:
https://juejin.im/post/5cdca7595188257cf051a06a
Github:
前端: https://github.com/czero1995/fancy-store
服务端: https://github.com/czero1995/fancy-store-server.git
后台管理 CMS: https://github.com/czero1995/fancy-store-admin.git
使用说明
1.配置文件和启动服务
不同系统平台(Linux,Mac,Window)安装启动MongoDB和Reids的命令都不相同,请根据自己的环境安装和启动服务。
- MongoDB、Redis 和七牛云存储的配置文件统一放在config文件夹
- 安装 MongoDB 并启动服务
- 安装 Redis 并启动服务
2.克隆项目
git clone https://github.com/czero1995/fancy-store-server.git
3.安装依赖
npm install
4.启动服务
npm run tsc:w // 编译TypeScript
npm run start // 启动项目
npm run build // pm2守护进程开启项目(用于正式环境部署)