Skip to content

luban-h5/springboot2-mybatis-plus-api-for-luban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRs Welcome 码云 Github

springboot2-mybatis-plus-api-for-luban

  • #!zh: 为鲁班H5 提供 由 Spring Boot 驱动的后端 API
  • #!zh: 现在仍然在完善中,非常欢迎 PR,如果您想参与贡献,可以直接 Pull Request。也可以和作者直接联系, 联系方式

相关文档

TODO

pr is welcome!

  • Get Work By Id
  • Get All Works
  • Update Work
  • Create Work
  • Delete Work
  • Upload Work Cover
  • Cors Proxy
  • Set Work as Template
  • create Work based on Template

Development

  1. 使用 init.sql 初始化数据库
  2. 修改 src/main/resources/application-dev.yml 中的 mysql 相关配置
  3. 修改 src/main/resources/application-prod.yml 中的 mysql 相关配置

#!zh 前后端联调开发

git clone https://github.com/ly525/luban-h5
cd luban-h5/front-end/h5
yarn install 
# #!en modify `target` in `vue.config.js`
# #!zh 修改 vue.config.js 中的 target 变量,比如:const target = 'http://127.0.0.1:8888',
# #!zh 8888 为 spring-boot-api-for-editor 提供服务的端口, 修改完毕之后,运行下面的命令,即可启动前端服务进行联调 
yarn serve # 是 serve 不是 server!

另外开一个terminal

open another terminal

git clone https://github.com/luban-h5/springboot2-mybatis-plus-api-for-luban.git
cd  springboot2-mybatis-plus-api-for-luban
mvn spring-boot:run

接口文档 地址

http://[host]:[port]/doc.html

启动 Spring Boot 项目,联调开始

技术栈(当前)

  1. SpringBoot
    • Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
  2. Mybatis Plus
    • MyBatis-Plus(简称 MP)是一个 MyBatis 的增强工具,在 MyBatis 的基础上只做增强不做改变,为简化开发、提高效率而生。
  3. knife4j
    • knife4j是为Java MVC框架集成Swagger生成Api文档的增强解决方案
  4. p6spy
    • P6Spy is a framework that enables database data to be seamlessly intercepted and logged with no code changes to the application.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published