/SpringBootKirjasto

A Java backend for managing a library (borrow, return books. Get info about individual books and users), OAuth2 with Google

Primary LanguageJava

Routes:

Books:

GET

/api/v1/books - return all books

/api/v1/books/{id} - return a single book

/api/v1/authors - return all authors

/api/v1/authors/{id} - return a single author

/api/v1/categories - return all categories

/api/v1/categories/{id} - return a single category

/api/v1/users - return all users

/api/v1/users/{id} - return a single user

POST

/api/v1/books - post a new book

/api/v1/authors - post a new author

/api/v1/categories - post a new categorie

/api/v1/users - post a new user

PUT

/api/v1/books/{id} - update a book by Id

/api/v1/authors/{id} - update a author by Id

/api/v1/categories/{id} - update a categorie by Id

/api/v1/users/{id} - update a user by Id

DELETE

/api/v1/books/{id} - delete a book by Id

/api/v1/authors/{id} - delete a author by Id

/api/v1/categories/{id} - delete a categorie by Id

/api/v1/users/{id} - delete a user by Id