An open API service indexing awesome lists of open source software.

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

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 *.sql file under src/main/resources that named with 'Dump20171119.sql' to your database server

  • Change spring.datasource.username= and spring.datasource.password= with yours in file src/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.