https://github.com/techprimers/spring-data-rest-jpa-example
Spring Data REST and JPA Example
https://github.com/techprimers/spring-data-rest-jpa-example
spring-boot spring-jpa spring-mvc
Last synced: 26 days ago
JSON representation
Spring Data REST and JPA Example
- Host: GitHub
- URL: https://github.com/techprimers/spring-data-rest-jpa-example
- Owner: TechPrimers
- Created: 2017-02-25T05:21:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T03:34:55.000Z (over 6 years ago)
- Last Synced: 2025-04-15T17:16:41.089Z (11 months ago)
- Topics: spring-boot, spring-jpa, spring-mvc
- Language: Java
- Homepage: https://youtu.be/CX-xBVIEIkw
- Size: 61.5 KB
- Stars: 31
- Watchers: 2
- Forks: 47
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Data REST and JPA Example
This project depicts the Spring Boot Example with Spring Data REST and JPA Example
## Description
This Project shows the list of Users which are stored in the In-Memory H2 Database. Using the following endpoints, different operations can be achieved:
- `/users` - This returns the list of Users in the Users table which is created in H2
- `/users/name/{name}` - This returns the details of the Users passed in URL
- `/users/load` - Add new users using the Users model. eg. { "name": "Ajay", "teamName": "Development", "salary": 100 }
## Libraries used
- Spring Boot
- Spring Configuration
- Spring REST Controller
- Spring JPA
- H2
- Development Tools
## Git 2.10.0
- IntelliJ IDEA 2016.2.4
## Compilation Command
- `mvn clean install` - Plain maven clean and install