本项目用于作者的期末大作业
前端 Github 仓库地址:link
后端 Github 仓库地址:link
练手阶段,代码质量有待提高,欢迎大家给我在评论区或者 issue 内提意见!希望可以 Star 我的项目!
目录:
技术栈
本项目是基于:
- SpringBoot
- Mybatis plus
- Vue
- Mysql 构建的前后端分离应用。
构建方法
后端 Springboot 程序
在 gitbash / terminal 中运行
git clone https://github.com/Kan1aSorata/Commodity-Trading-Platform-backend.git
将项目导入至你的IDE中,推荐使用IDEA; 你需要更改 application.properties 中的以下字段到你的本地 Mysql:
spring.datasource.url=jdbc:mysql://49.***.***.174:3306/2handTradePlat
spring.datasource.username=root
spring.datasource.password=F*******1
并且将文件夹中名为 2handTradePlat.sql 的数据库导入到本地后,即可开始运行使用;
前端 Vue 程序
在 gitbash / terminal 中运行
git clone https://github.com/MoriiIF/SecondHandTrandingFront.git
将项目导入到 VSCode 内,并执行以下操作
- 安装依赖:
npm install
- 运行并启用热加载
npm run serve
API请求文档
具体接口文档请见 Apifox
部署云端
基于Docker部署, 后续整理一下发布。