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 accountsGET 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}