Skip to content

RESTful API in Spring Boot with Hibernate (Layered Architecture) for Catalog Repository

Notifications You must be signed in to change notification settings

frankymz/databaseAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Model URIs

Books

GET

/books : get all books

/bookById/{id} : get book by id

/book/{name} : get book by name

/books/{genre} : get list of books by genre

POST

/addBook : add a book

/addBooks : add multiple books

PUT

/update : update a book

DELETE

/delete/{id} : delete a book by id

Book Reviews

GET

/reviews/{book} : gets list of reviews for a book

/review/{date} : gets list of reviews from a certain day

POST

/addReview : adds a review

Users

POST

/addUser : adds a user

User Saved Books

GET

/userSaved/{user}/{book} : get user by username and book

/userSaved : get list of all saved books by all users

/userSaves/{user} : get list of books saved by a certain user

POST

/addUserSave : add a user saved book

DELETE

/deleteById/{id} : delete a user saved book by id

About

RESTful API in Spring Boot with Hibernate (Layered Architecture) for Catalog Repository

Resources

Stars

Watchers

Forks

Releases

No releases published