Skip to content

parmarhiiren/bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bookstore

Get book based on Id : GET : http://localhost:8080/api/v1/books/1

{ "category": "cooking", "title": "Awesome Chowmein", "language": "en", "year": "2005", "price": 25.0, "authors": [ { "name": "Sam T. Bruce" }, { "name": "Giada De Laurentiis" } ] }

{ "category": "cooking", "title": "Awesome Chowmein", "language": "en", "year": "2005", "price": 50.0, "authors": [ { "name": "Sam T. Bruce" }, { "name": "Giada De Laurentiis" } ] }

Delete a book : DELETE :http://localhost:8080/api/v1/books/4

Get all authors : GET : http://localhost:8080/api/v1/authors

Get author based on Id : GET : http://localhost:8080/api/v1/authors/1

{ "name": "Hiiren" }

update and author : PUT : http://localhost:8080/api/v1/authors/5

{ "name": "Hiiren Parmar" }

delete an author : DELETE : http://localhost:8080/api/v1/authors/5

About

Bookstore backend in spring boot with JPA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages