๐ก BookStore is a simple SpringBoot Web-app learning project built on one day.
-
Manage the bookstore inventory
- Add a new book, stock and inventory to the shop
- Remove a book
- Update a book
-
Manage a users cart
- Add books
- Remove books Checkout
-
Production ready API documentation via Swagger
-
Production ready Health check endpoints via Actuator
-
Postman Collection for testing. See
bookstore/postman
.
- Follow the Google Java code style guidelines
- Set
SPRING_PROFILES_ACTIVE
todev
- Run the project at the
@SpringBootProject
entry point.
Assuming a local development root url of http://localhost:8080
- get-book GET
/inventory/{book_id}
- add-book POST
/inventory
- update-book PATCH
/inventory/{book_id}
- delete-book DELETE
/inventory/{book_id}
- get-books GET
/inventory?page={page_number}&title={book_title}&author={author}&size={page_size}
- get-cart GET
/bookstore/{user_id}
- add-cart POST
/bookstore/{user_id}
- checkout-cart POST
/bookstore/{user_id}/checkout
- delete-from-cart DELETE
/bookstore/{user_id}