Projeto criado para estudar o desenvolvimento de API'S com SpringBoot e PostgreSQL.
GET
/api/v1/users -> Finds all users
/api/v1/users/{id} -> Finds a user by passing an {id}
POST
/api/v1/users -> Adds a new user by passing a RequestBody in JSON, XML or YML!
PUT
/api/v1/users/{id} -> Updates a user by passing an {id} and a RequestBody in JSON, XML or YML!
DELETE
/api/v1/users/{id} -> Deletes a user by passing an {id}
GET
/api/v1/orders -> Finds all orders
/api/v1/orders/{id} -> Finds a order by passing an {id}
GET
/api/v1/categories -> Finds all categories
/api/v1/categories/{id} -> Finds a category by passing an {id}
POST
/api/v1/categories -> Adds a new category by passing a RequestBody in JSON, XML or YML!
PUT
/api/v1/categories/{id} -> Updates a category by passing an {id} and a RequestBody in JSON, XML or YML!
DELETE
/api/v1/categories/{id} -> Deletes a category by passing an {id}
GET
/api/v1/products -> Finds all products
/api/v1/products/{id} -> Finds a product by passing an {id}
POST
/api/v1/products/{id} -> Adds a new product by passing a RequestBody in JSON, XML or YML!
PUT
/api/v1/products/{id} -> Updates a product by passing an {id} and a RequestBody in JSON, XML or YML!
DELETE
/api/v1/products/{id} -> Deletes a product by passing an {id}