Skip to content

nsrlhn/ReadingIsGood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReadingIsGood Book Delivery System

Running

Create jar package with maven:

mvn clean package

Create docker-compose.yml:

version: '3.2'

services:  
    readIsGood:
        build: {Path_To_Dockerfile}
        restart: always
        ports: {Exported_Port}:8080

Run Docker Compose:

docker compose up readIsGood --build -d

Features

  • Book prices can be updated. To not lose the history, purchase prices are also stored under OrderItems
  • During the stock update processes, related data in database will be locked.
  • More than one type of books can be ordered at once. In case of error, the order will be cancelled as a whole.

Technologies

  • Java 17
  • Spring Framework & Spring Boot
  • H2 Database

Development

TODO

General

  • Return dto instead of entities
  • logging is done, but updated fields are not logged

Book

  • Book may be generalized as Product
  • Author should be added to Book
  • Stock information may be stored somewhere else

Statistic

  • A separate entity may be created for statistic to improve performance

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published