I make this project in sts tool using spring boot , mysql , jpa.
Download this is project and import in the sts tool the you can run this project. #Description In this is project project i make insurance policy rest api.
#How use it
- GET http://localhost:8080/api/clients for fetching all clients.
- GET http://localhost:8080/api/clients/id for fetching client by id.
- POST http://localhost:8080/api/clients for creating new client
- PUT http://localhost:8080/api/clients/id for updating client
- DELETE http://localhost:8080/api/clients/id for deleting a client by id
- GET http://localhost:8080/api/policies for fetching all polices
- GET http://localhost:8080/api/policies/id for fetching policies by id
- POST http://localhost:8080/api/policies for creating new policies
- PUT http://localhost:8080/api/policies/id for updating policies
- DELETE http://localhost:8080/api/policies/id for deleting policies by id
- GET http://localhost:8080/api/claims for fetching all claims
- GET http://localhost:8080/api/claims/id for fetching claims by id
- POST http://localhost:8080/api/claims for creating new claims
- PUT http://localhost:8080/api/claims/id for updating claims
- DELETE http://localhost:8080/api/claims/id for deleting claims by id