Skip to content

mohdfaizkhan/bookestore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Presented By -

 /$$      /$$           /$$             /$$       /$$$$$$$$       /$$                 /$$   /$$ /$$                          
| $$$    /$$$          | $$            | $$      | $$_____/      |__/                | $$  /$$/| $$                          
| $$$$  /$$$$  /$$$$$$ | $$$$$$$   /$$$$$$$      | $$    /$$$$$$  /$$ /$$$$$$$$      | $$ /$$/ | $$$$$$$   /$$$$$$  /$$$$$$$ 
| $$ $$/$$ $$ /$$__  $$| $$__  $$ /$$__  $$      | $$$$$|____  $$| $$|____ /$$/      | $$$$$/  | $$__  $$ |____  $$| $$__  $$
| $$  $$$| $$| $$  \ $$| $$  \ $$| $$  | $$      | $$__/ /$$$$$$$| $$   /$$$$/       | $$  $$  | $$  \ $$  /$$$$$$$| $$  \ $$
| $$\  $ | $$| $$  | $$| $$  | $$| $$  | $$      | $$   /$$__  $$| $$  /$$__/        | $$\  $$ | $$  | $$ /$$__  $$| $$  | $$
| $$ \/  | $$|  $$$$$$/| $$  | $$|  $$$$$$$      | $$  |  $$$$$$$| $$ /$$$$$$$$      | $$ \  $$| $$  | $$|  $$$$$$$| $$  | $$
|__/     |__/ \______/ |__/  |__/ \_______/      |__/   \_______/|__/|________/      |__/  \__/|__/  |__/ \_______/|__/  |__/
                                                                                                                                                                                                                                                                                                                                                                                       

How to use

Simply build the image using

$docker build -t mohdfai/bookstore:latest .

Or

$docker-compose up -d

run it with all needed parameter:

$ docker pull mohdfai/bookestore:latest
$ docker run -d -p 8080:8080 mohdfai/bookstore:latest

That's it.

Open APIs / Swagger

https://faizkhanbookstore.herokuapp.com/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config#/

https://faizkhanbookstore.herokuapp.com/v3/api-docs/

https://faizkhanbookstore.herokuapp.com/api/v1/book/getTotalPrice

https://faizkhanbookstore.herokuapp.com/api/v1/book/getDiscountedTotalPrice

https://faizkhanbookstore.herokuapp.com/api/v1/books

https://faizkhanbookstore.herokuapp.com/api/v1/book/1

https://faizkhanbookstore.herokuapp.com/h2-console/

alt text alt text alt text alt text

Environment

This image uses following commands for configuration.

docker commands Default value Description
Docker build no default $docker build -t mohdfai/bookstore:latest .
Docker run no default docker run -d -p 8080:8080 mohdfai/bookstore:latest

Updates and updating

To update your setup simply pull the newest image version from docker hub and run it.

Deprecated features

Instead of using mohdfai/bookstore:latest image, any light image can be used (e.g. openjdk:8-jdk-alpine)

License

Everything in my repository is published under GPL-3.

 /$$$$$$$   /$$$$$$   /$$$$$$  /$$   /$$  /$$$$$$  /$$$$$$$$ /$$$$$$  /$$$$$$$  /$$$$$$$$
| $$__  $$ /$$__  $$ /$$__  $$| $$  /$$/ /$$__  $$|__  $$__//$$__  $$| $$__  $$| $$_____/
| $$  \ $$| $$  \ $$| $$  \ $$| $$ /$$/ | $$  \__/   | $$  | $$  \ $$| $$  \ $$| $$      
| $$$$$$$ | $$  | $$| $$  | $$| $$$$$/  |  $$$$$$    | $$  | $$  | $$| $$$$$$$/| $$$$$   
| $$__  $$| $$  | $$| $$  | $$| $$  $$   \____  $$   | $$  | $$  | $$| $$__  $$| $$__/   
| $$  \ $$| $$  | $$| $$  | $$| $$\  $$  /$$  \ $$   | $$  | $$  | $$| $$  \ $$| $$      
| $$$$$$$/|  $$$$$$/|  $$$$$$/| $$ \  $$|  $$$$$$/   | $$  |  $$$$$$/| $$  | $$| $$$$$$$$
|_______/  \______/  \______/ |__/  \__/ \______/    |__/   \______/ |__/  |__/|________/
                                                                                                                                                                                                                                                                                                                                                            

About

Bookestore project in Spring Boot 2.5 with Open API v3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published