# bg-goods **Repository Path**: muand/bg-goods ## Basic Information - **Project Name**: bg-goods - **Description**: node+express+mongodb+react + ant-design构建的商品后台管理系统 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2018-12-29 - **Last Updated**: 2023-10-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # bg-goods [文档地址](https://gitee.com/muand/bg-goods/blob/master/README.md) #### 介绍 node+express+mongodb+react + ant-design构建的商品后台管理系统 #### 软件架构 + node 版本 13.10.0 + npm 版本 3.10.10 #### 安装教程(注意:目前使用线上数据库,此步骤可以跳过。如果需要连自己的数据库,可以参考下面安装教程) 1. 进入项目,npm install 2. 进入目录 web-admin, 执行 npm install 3. 安装mongodb: + [windows安装教程](https://blog.csdn.net/heshushun/article/details/77776706) + [linux安装教程](https://www.cnblogs.com/muamaker/p/10081766.html) + 由于安装包下载需要越狱,比较慢,可以在百度云下载: 链接:[安装包](https://pan.baidu.com/s/1p4N9HmS0w5l_vuv3gN8z3Q) 提取码:fhyr #### 开发使用说明 1. 进入项目,npm start 2. 进入目录 web-admin, 执行 npm start 3. 打开: http://localhost:3000/ 4. 注册然后登陆 5. 假如登录后还是要求登录,可以打开 :http://localhost:3001,登录后,再进行 第 3、4步 #### 打包 1. 进入目录 web-admin, 执行 npm run build 2. 进入项目根目录 npm start 3. 访问 http://localhost:3001 #### 发布 1. 进入目录 web-admin, 执行 npm run build 2. 进入项目根目录 -> pm2.json 修改 PORT端口,等参数,也可以不改 3. 代码上传至 linux 服务器 4. 进入项目根目录 pm2 start pm2.json 5. 配置nginx反向代理,发布成功 #### 参与贡献 1. [UI和功能参考](https://github.com/macrozheng/mall-admin-web) 2. [ ant-design 文档地址](https://ant.design/components/breadcrumb-cn/) 3. [express 文档地址](http://www.expressjs.com.cn/4x/api.html) 4. [mongoose4.5中文文档](https://mongoose.shujuwajue.com/guide/middleware.html) 5. [七牛云文件上传文档](https://github.com/qiniu/nodejs-sdk/blob/master/docs/nodejs-sdk-v7.md)