Skip to content

nick-pk/bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookstore Spring Boot Application

In order to run the project use the docker-compose.yaml file.

After composing up the application go to the browser type localhost:port/path. where port number is whatever you defined in the file. and path is URI mentioned below.

Bookstore API Introduction

Welcome to the bookstore API documentation. This will describe the bookstore api which is used as a REST application to try/clarify various concepts.

Data Resources

The following is a section of resources related to REST level 2 resources. These resources are only available in the application/json format.

URI

GET

/books?page[number]&page[size]

Retrieve all available books with/without pagination.

GET

/books/isbn

Retrieve a specific book with an exact match when you know the ISBN number.

GET

/books/isbn/buy

Retrieve a updated book with the quantity reduced by 1 when the ISBN number is known.

GET

/books?filter[author]=author_name&filter[title]=title_name&page[number]&page[size]

Retrieve all the books by a specific author or title name with partial/full match.it also has pagination enabled.

POST

/books

Retrieve a stored book by passing the book details(isbn,title,quntity,author) which are mandatory. if book already there it returns the updated book.

GET

/books/isbn/posts

Retrieve the post's title of given book's isbn via calling the web media service.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published