Code Monkey home page Code Monkey logo

springboot2-jpa-api-for-luban's Introduction

PRs Welcome

springboot2-jpa-api-for-luban

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

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

  • #!en: Demo API for Luban-H5-Editor-Module powered by Spring 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 项目
前端

预备知识

# 重新打开一个 terminal 
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',
# 其中:
    # 8888 为 springboot2-jpa-api-for-luban 提供服务的端口
    # 127.0.0.1 是本地开发的IP 或者 内网 IP 都是可以的

# 修改完毕之后,运行下面的命令,即可启动前端服务进行联调 
# 注意是 serve 不是 server!
yarn serve 

联调开始

springboot2-jpa-api-for-luban's People

Contributors

acloudyh avatar ly525 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.