# springboot-rest-demo_1 **Repository Path**: zhangword/springboot-rest-demo_1 ## Basic Information - **Project Name**: springboot-rest-demo_1 - **Description**: 演示RESTFul风格,SQLite数据库使用 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 68 - **Created**: 2023-03-21 - **Last Updated**: 2023-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-rest-demo ### 介绍 演示RESTFul风格,SQLite数据库使用 springboot企业级开发教程 P58 ### 展示图 ![](./展示图.png) ### 接口 #### custommer 表 + fileAll + get: http://localhost:7006/custommers + findAllById + get: http://localhost:7006/customers/:id #### user 表 + 查询所有用户 + get: http://localhost:7006/user/fileAll + 登录用户 + get(应该更为 post): http://localhost:7006/user/login + params: username, password ### 软件架构 springboot 2. 1.7 SQLite3 JPA spring-boot-starter-rest ### 典型配置 >pom.xml中添加依赖 ```xml org.springframework.boot spring-boot-starter-jdbc org.xerial sqlite-jdbc 3.36.0.3 com.zsoltfabok sqlite-dialect 1.0 org.springframework.boot spring-boot-starter-data-jpa 2.1.7.RELEASE org.springframework.boot spring-boot-starter-data-rest 2.1.7.RELEASE ``` >### 需解决的问题 - 使用Vue.js+ElementUI 或者 LayuiMini等任何一种视图框架技术,表格化显示 customer表中的所有数据。 - 使用 RunAPI/ Postman / ShowDoc /APIfox 等任何一种接口工具进行测试 >### 参考资料 1. SQLite介绍 https://www.runoob.com/sqlite/sqlite-tutorial.html 2. Vue2介绍 https://www.runoob.com/vue2/vue-tutorial.html 3. RESTFul介绍 https://blog.csdn.net/weixin_51407397/article/details/128177982 4. LayUIMini http://layuimini.99php.cn/docs/index.html