# ecycle-backend
**Repository Path**: wang-weichen/ecycle-backend
## Basic Information
- **Project Name**: ecycle-backend
- **Description**: 前两年写的一个关于生活垃圾回收的系统,这部分是后端代码,当时因为合伙人等其他特殊原因项目没有进行下去,导致大量需求调研与设计工作白费,今天想起来还有这个的代码库,开源一下,万一有人用呢。 因为只是写个类似demo的东西,有些东西写死在代码里了,但是不错,有些东西虽然没写但也算留好口子了,自行发现吧~
- **Primary Language**: Java
- **License**: AGPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 3
- **Forks**: 0
- **Created**: 2024-01-19
- **Last Updated**: 2025-03-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://gitee.com/wang-weichen/ecycle-backend)
[](https://gitee.com/wang-weichen/ecycle-backend)
[](https://github.com/AiFu-o/ecycle-backend)
[](https://github.com/AiFu-o/ecycle-backend)
[](https://gitee.com/wang-weichen/ecycle-backend/blob/master/LICENSE)
这个项目有个悲伤的故事,两个程序员🐶在北京艰苦奋斗,早中晚在认真搬砖之余摸鱼写这个,本想创业做一个自己的小程序,结果被人放鸽子,创始人去卖车了。所以打算把这个项目开源,希望这个项目能发挥一点点的价值。
管理端前端有些不完善,但是主流程(支付、商品发布、拍卖)是通的
如果这个项目让你有所收获,记得 Star 关注哦。
### 项目简介
**有价**,后端基于 SpringMvc 构建,小程序基于 uniapp 构建,个人可以直接使用,如要商用请联系微信 w569111843。
### 项目结构
~~~
|-- ecycle-auth 用户、权限管理
|-- ecycle-commodity 商品、订单管理
|-- ecycle-gateway 网关
|-- ecycle-message 消息推送
|-- ecycle-pay 支付(目前只有微信支付)
|-- ecycle-storage 附件管理
~~~
### 项目启动教程
* 配置环境(java11、nacos2、mysql8、redis)
* 将项目导入 idea
* 第一次启动服务前需要执行 **init.sql** 创建数据库表
* 启动 nacos,并创建配置文件,配置文件名根据 bootstrap.yaml中的配置创建
***具体配置项参考各个服务下的 application.yaml-temp***
配置文件名称示例:
~~~
spring:
application:
name: ecycle-commodity
profiles:
active: dev
## 配置文件名称 =
## ecycle-commodity 或 ecycle-commodity-dev
~~~
* 按顺序启动服务
***gateway > auth > commodity > pay > message > storage***
### gitee仓库地址
* 管理端前端:https://gitee.com/wang-weichen/ecycle-manage-frontend
* 小程序端:https://gitee.com/JoKing_93/ecycle-frontend
* 后端:https://gitee.com/wang-weichen/ecycle-backend
### github仓库地址
* 管理端前端:https://github.com/AiFu-o/ecycle-manage-frontend
* 小程序端:https://github.com/AiFu-o/ecycle-frontend
* 后端:https://github.com/AiFu-o/ecycle-backend