Skip to content

kayaeray/ReadingIsGood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

READING IS GOOD

Version

ReadingIsGood app is an online book selling app.

Restful Service uses following technologies:

  • Spring-boot
  • Spring-data
  • Spring-rest
  • Hibernate
  • Spring-security
  • H2 DB
  • Swagger2
  • Lombok
  • JWT

How to Start Project (Local)

mvn clean package
java -jar ./target/ReadingIsGood-0.0.1.jar

How to Start Project (Container)

mvn clean package
docker build -f Dockerfile -t reading-is-good .  
docker run -p 8080:8080 reading-is-good  

Code coverage report

\target\site\jacoco\index.html

Logs

\logs\readingisgood-logger.log

Swagger Documentation

Swagger Address : http://localhost:8080/swagger-ui.html

img.png

How to Use the App

Create New Customer

To create a new customer, you can request as follows img.png

Generate JWT Token

To generate a new token, you can request as follows img.png

Use JWT Token

You can use the token as follows img.png

Create New Book

To create a new book, you can request as follows img.png

Update Stock

To update a book, you can request as follows img.png

Create New Order

To create a new order, you can request as follows img.png

Orders By Date Interval

You can get orders by date interval img.png

Monthly Statistic

You can get monthly statistics img.png

Postman collection

File Location : /docs/ReadingIsGood-Postman.postman_collection.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors