1 Star 0 Fork 69

魏星-小旋风 / springboot-rest-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

springboot-rest-demo

介绍

演示RESTFul风格,SQLite数据库使用 springboot企业级开发教程 P58

软件架构

springboot 2.1.7
SQLite3
JPA
spring-boot-starter-rest

典型配置

pom.xml中添加依赖


<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
        <version>2.1.7.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-jdbc</artifactId>
    </dependency>
    <!-- sqlite -->
    <dependency>
        <groupId>org.xerial</groupId>
        <artifactId>sqlite-jdbc</artifactId>
        <version>3.36.0.3</version>
    </dependency>
    <dependency>
        <groupId>com.zsoltfabok</groupId>
        <artifactId>sqlite-dialect</artifactId>
        <version>1.0</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
        <version>2.1.7.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-rest</artifactId>
        <version>2.1.7.RELEASE</version>
    </dependency>
</dependencies>

需解决的问题

  • 使用Vue.js+ElementUI、Bootstrap 或者 LayuiMini等任何一种视图框架技术,表格化显示 customer表中的所有数据。

  • 使用 APIfox / RunAPI / Postman 等任何一种接口工具进行测试

参考资料

  1. SQLite介绍 https://www.runoob.com/sqlite/sqlite-tutorial.html
  2. Vue2介绍 https://www.runoob.com/vue2/vue-tutorial.html
  3. Bootstrap https://www.runoob.com/bootstrap4/bootstrap4-tutorial.html
  4. Spring Data Rest https://docs.spring.io/spring-data/rest/docs/current/reference/html/#intro-chapter
  5. RESTFul介绍 http://www.javaboy.org/2019/0606/springboot-restful.html
  6. LayUIMini http://layuimini.99php.cn/docs/index.html
  7. LayUI https://layuion.com/docs/modules/table.html

空文件

简介

演示RESTFul风格,SQLite数据库使用 展开 收起
Java 等 2 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/wayxingwork/springboot-rest-demo.git
git@gitee.com:wayxingwork/springboot-rest-demo.git
wayxingwork
springboot-rest-demo
springboot-rest-demo
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891