Library REST API developed with Java Spring boot and JWT.
GET /books/${id}
Parameter | Type | Description |
---|---|---|
Id |
int |
Required. Search a specific book with an Id. |
GET /books/all
Parameter | Type | Description |
---|---|---|
No Parameter |
Required. Search all books |
GET /books/author/nameOrSurname
Parameter | Type | Description |
---|---|---|
Name or surname |
String |
Required. Search a book with the author's name or surname (not working right now) |
Delete /books/delete
Parameter | Type | Description |
---|---|---|
Id |
int |
Required. Deletes a book with the specified Id. |
Post /books/save
Parameter | Type | Description |
---|---|---|
Book |
book |
Required. Saves a book with the information required. |
GET /borrows/all
Parameter | Type | Description |
---|---|---|
No parameter |
Required. Gets all the borrows registered. |
Get /borrows/book/{bookId}
Parameter | Type | Description |
---|---|---|
Id |
int |
Required. Search a specifics borrow with a book ID |
Get /borrows/student/{studentId}
Parameter | Type | Description |
---|---|---|
Id |
int |
Required. Search a specifics borrow with a student ID |
Post /borrows/save
Parameter | Type | Description |
---|---|---|
Borrow |
borrow |
Required. Saves a borrow with the information required. |
I'm a student looking for opportunities as a backend developer.