This project is a Back-End RESTful API that you can register, retrieve, update and also delete the customers data.
Very useful when you need to keep records of your clients.
- Java 21
- Spring Boot
- JPA: Hibernate
- H2 Database
- Jakarta Bean Validation
- Maven
- Implemented using layered architecture
- Customized HTTP response codes using ResponseEntity
- Customized exceptions response messages
Prerequisites: Java 17
1. Clone the repository
git clone [email protected]:kaiqlopes/client-api.git
2. Open the project in your preferred IDE and execute it
3. Use your favorite API REST testing tool
- GET CLIENT BY ID:
localhost:8080/clients/idHere
- GET CLIENT BY NAME (Case insensitive):
localhost:8080/clients?name=nameHere
- GET ALL CLIENTS:
localhost:8080/clients
- POST NEW CLIENT:
localhost:8080/clients
- PUT CLIENT (UPDATE):
localhost:8080/clients/idHere
- DELETE CLIENT:
localhost:8080/clients/idHere
Kaique Lopes da Silva