Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] #!zh: 为鲁班H5 提供 由 Spring Boot 驱动的后端 API

License

NotificationsYou must be signed in to change notification settings

luban-h5/springboot2-jpa-api-for-luban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRs Welcome

springboot2-jpa-api-for-luban

  • #!zh: 为鲁班H5 提供 由Spring Boot 驱动的后端 API

  • #!zh: 现在仍然在完善中,非常欢迎 PR,如果您想参与贡献,可以直接 Pull Request。也可以和作者直接联系,联系方式

  • #!en: Demo API forLuban-H5-Editor-Module powered bySpring Boot + JPA

  • #!en It is still working in progress, so pr is welcome!(now it's just a demo)

相关文档

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 初始化数据(不含建库语句),mysql 版本需要 >= 5.7.8
  2. 修改src/main/resources/application-dev.example.yml 中的 mysql 相关配置
  3. 修改src/main/resources/application-prod.example.yml 中的 mysql 相关配置
  4. git clone https://github.com/luban-h5/springboot2-jpa-api-for-luban , 启动 Spring Boot 项目
前端

预备知识

# 重新打开一个 terminalgit clone https://github.com/ly525/luban-h5cd 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',# 其中:# 8888 为 springboot2-jpa-api-for-luban 提供服务的端口# 127.0.0.1 是本地开发的IP 或者 内网 IP 都是可以的# 修改完毕之后,运行下面的命令,即可启动前端服务进行联调# 注意是 serve 不是 server!yarn serve

联调开始

About

[WIP] #!zh: 为鲁班H5 提供 由 Spring Boot 驱动的后端 API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp