Skip to content

A simple API for shopping and integrations with delivery and payment methods

License

Notifications You must be signed in to change notification settings

pandudpn/shopping-cart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Cart

Technology Stack

Project ini menggunakan technology stack

  • PostgreSQL (main db)
  • Redis (cached)
  • Elasticsearch (optional: used for monitoring logging)

Feature

Adapun fitur-fitur yang tersedia pada project ini :

  • User
    • Login
    • Register
    • Forgot Password
  • Product
    • List Product
    • Product Detail
  • Cart
    • Add to cart
    • Add quantity product
    • Remove Product
    • Decrease quantity product
    • Show Cart
  • Checkout
    • List available Courrier
    • List Available Payment Method
    • Finish Checkout (convert Cart to Order)

Design Pattern

1. Programming on Interface

  • Mempunyai 4 layer : usecase (bisnis logic), model (data structure), controller (handler endpoint), dan repository (query layer). Masing-masing layer hanya bisa meng-akses melalui interface.

2. Injection using Factory Method Pattern

  • Injeksi ini digunakan untuk menyambungkan dari satu package ke package lain melalui interface.

3. Minimize Dependency

About

A simple API for shopping and integrations with delivery and payment methods

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages