RESTful API using the Spring Boot framework in Java for Compass UOL challenge 2
These instructions will allow you to get a copy of the project up and running on your local machine for development and testing purposes.
Java 17
IDE (ex: IntelliJ, Eclipse)
API client (ex: Postman, Insomnia)
- Clone the project:
git clone https://github.com/joao-arthr/challenge2-compass.git
-
Open the project on your IDE and run it!
-
Open your API client and consume the API from the URL.
http:https://localhost:8080/
The following endpoints are available in this API:
Retrieve a list of all products.
Retrieve details of a specific products.
- Parameters:
id
(required): The ID of the products.
Create a new products.
- Request Body:
name
(required): The name of the product.price
(required): The price of the product.quantity
(required): The quantity of the product.
Update details of a specific product.
- Parameters:
id
(required): The ID of the product.
- Request Body:
name
(required): The name of the product.price
(required): The price of the product.quantity
(required): The quantity of the product.
Delete a specific product.
- Parameters:
id
(required): The ID of the products.
- Artur Siqueira - artursiqueira
- João Arthur - joao-arthr
- Letícia Imasato - lesyimasato
- Rhauan Masulim - RhauanMasulim