- Notifications
You must be signed in to change notification settings - Fork16
[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
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
#!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)
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
- 使用
init.sql
初始化数据(不含建库语句),mysql 版本需要 >= 5.7.8 - 修改
src/main/resources/application-dev.example.yml
中的 mysql 相关配置 - 修改
src/main/resources/application-prod.example.yml
中的 mysql 相关配置 git clone https://github.com/luban-h5/springboot2-jpa-api-for-luban
, 启动 Spring Boot 项目
预备知识
- Node、yarn 安装教程
- 请使用 yarn 安装依赖,而非 npm,原因参见#92 和#101
- 安装前端项目依赖,前端开发文档:
# 重新打开一个 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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.