Skip to content

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.

License

Notifications You must be signed in to change notification settings

kaiqlopes/client-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client API

NPM

About the project

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.

Domain Model

image

Used technologies

  • Java 21
  • Spring Boot
  • JPA: Hibernate
  • H2 Database
  • Jakarta Bean Validation
  • Maven

Skills

  • Implemented using layered architecture
    image

  • Customized HTTP response codes using ResponseEntity
  • Customized exceptions response messages

How to run

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

Endpoints:


  • 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

Author

Kaique Lopes da Silva

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages