My first Java API written in Spring.
Contains the Book class with the id as the primary key and a Message class for successful deletions.
Contains the controller allowing interaction with CRUD actions of the database.
There are two exceptions - one for HttpStatus.BAD_REQUEST and the other for NOT_FOUND.
Contains the BookRepository which extends the JpaRepository.
- Spring
- Java
- MySQL (to create the database)
- Postman (check the responses)