The DVD Rental project is being done by using The Sakila Sample Database which is a complex relational database with 16 tables. This app is able to perform basic CRUD operations as well as some more complex queries.
The following schema was used with a few modifications.
This project was done using Spring Framework (Spring Boot, Spring Data JPA)
Type: POST
/customer/save
Request Body
Required: application/json
Responses:
Code | Description |
---|---|
200 |
Returns saved customer |
Type: GET
/customer/list
Responses:
Code | Description |
---|---|
200 |
Returns all customers |
204 |
There is no customers |
Type: GET
/customer/{id}
Parameters:
Name | Description |
---|---|
id required path |
Id of the customer |
Responses:
Code | Description |
---|---|
200 |
Returns the customer with the selected id |
404 |
No customer with the selected id was found |