An application that finds creates user and the user is able to create books with the access he gets
Tools: Spring Boot
docker pull michpoli/bookstore
The are all the files inside to run the spring application
POST /api/register
Parameter | Type | Description |
---|---|---|
username |
string |
username |
email |
string |
|
password |
string |
password |
POST api/login
Parameter | Type | Description |
---|---|---|
username |
string |
username |
password |
string |
password |
You get a token in case of succeful login to copy for your requests
POST api/books
Parameter | Type | Description |
---|---|---|
title |
string |
name of the book |
author |
string |
name of the author |
ISBN |
string |
ISBN |
publishedDate |
date |
yyyy/MM/dd |
GET api/books
Parameter | Type | Description |
---|
PUT api/books/{id}
Parameter | Type | Description |
---|---|---|
title |
string |
name of the book |
author |
string |
name of the author |
ISBN |
string |
ISBN |
publishedDate |
date |
yyyy/MM/dd |
DELETE /api/books/{id}
Parameter | Type | Description |
---|---|---|
id |
int |
id of the book |