https://github.com/coder-acjhp/spring-data-boot-jpa
https://github.com/coder-acjhp/spring-data-boot-jpa
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/coder-acjhp/spring-data-boot-jpa
- Owner: Coder-ACJHP
- Created: 2017-11-19T00:15:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T00:55:25.000Z (over 8 years ago)
- Last Synced: 2025-05-22T09:39:50.847Z (about 1 year ago)
- Language: Java
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Data-Boot with JPA and Json
Spring MVC [boot] application with *ZERO CONFIGURATION! No XML* working on JPA (CRUD) with Spring Data.We will get the infromations as Json
How it's work?
- Download the project from here.
- Import the
*.sqlfile undersrc/main/resourcesthat named with 'Dump20171119.sql' to your database server - Change
spring.datasource.username=andspring.datasource.password=with yours in filesrc/main/resources/application.properties - Right click on project and choose Maven->Update project.. than Run as Java Application
How you can test it?
1-For getting all users go to this link on your browser localhost:8080/demo/all
2-For adding new user go to this link on your browser localhost:8080/demo/add?username='your-name'&password='your-password'&status='true or false'
Another questions ?
For any question please email me at : hexa.octabin@gmail.com
Thank you for reading.