Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Docker support #15

Merged
merged 6 commits into from
May 27, 2024
Merged

Added Docker support #15

merged 6 commits into from
May 27, 2024

Commits on May 23, 2024

  1. Added Docker dependency in pom.xml. Added Dockerfile, docker-compose …

    …properties and added .env to gitignore.
    nklimovych committed May 23, 2024
    Configuration menu
    Copy the full SHA
    c9a1041 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de08a2b View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Added Order entity with all related dto, service, mapper and controll…

    …er (#14)
    
    * Add Order, OrderItem entities, and Status enum.
    
    * Added repository and dto layers, added mappers for related Order & OrderItem entities.
    
    * Added liquibase change files to create orders and order-items tables in DB. Fixed checkstyle issues.
    
    * Added service and controller layers. Code refactored. Fixed issue in ShoppingCartRepository with findByUser query.
    
    * Resolved issues:
     - Refactored order saving method in OrderServiceImpl.
     - Fixed issues with lazy initialization.
     - Added authorized user in the getOrderItem method in the controller so that any user cannot get another user's data.
     - Added equals & hashcode, and toString in OrderItem entity.
     - Added equals and hashcode to all entities.
     - Resolved issue when anyone can search for any order items.
    
    * Resolved issue with shopping cart: now when an order is placed, the shopping cart is removed. Removed soft delete in ShoppingCart
    
    * Fixed the issue where categories were not being added to saved books.
    
    * Added exclude constraint for EqualsAndHashcode and ToString annotations. 
    * Added @CreationTimestamp for orderDate in Order entity.
    nklimovych authored May 27, 2024
    Configuration menu
    Copy the full SHA
    6340daa View commit details
    Browse the repository at this point in the history
  2. Added Dockerfile, docker-compose properties and added .env to gitigno…

    …re. Added Docker dependency in pom.xml.
    nklimovych committed May 27, 2024
    Configuration menu
    Copy the full SHA
    a540350 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c1da87 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac4f5a3 View commit details
    Browse the repository at this point in the history