Skip to content

Creating REST api using Spring boot , JPA ,hibernate , mysql

Notifications You must be signed in to change notification settings

bipool/spring-boot-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-crud

This is an spring boot application which is creating REST api and doing CRUD operation with mysql db. This project will just create, read, update and delete from account table. We are using JPA hibernate for database communication

To get all accounts
GET http://localhost:8080/account/findAll

To retrieve particular account

GET http://localhost:8080/account/find/{accountId}

To create an account

POST http://localhost:8080/account/create
{
"name": "TEST Account",
"type": 1,
"contact": "account address"
}

To update an account
POST http://localhost:8080/account/update

{
"name": "TEST Account",
"type": 1,
"contact": "account address"
}

To delete an account

DELETE http://localhost:8080/account/delete/{accountId}

About

Creating REST api using Spring boot , JPA ,hibernate , mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages