Skip to content

yancey-learning-tech/learn-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Learning Backend

How to deploy Nest.js microservices using Kubernetes

  1. User Service: Responsible for handling user registration, login, and personal information management.
  2. Product Service: Responsible for handling CRUD operations for products and inventory management.
  3. Order Service: Responsible for handling order creation, payment, shipping, and refund processes.
    • Notify payment microservice:
      • if success:
        • Remove the relative items in shopping cart
        • Reduce storage
        • Send notification
      • if failure:
        • Send notification
  4. Cart Service: Responsible for handling the creation of shopping carts, adding products, and removing products.
  5. Recommendation Service: Responsible for recommending products based on user's purchase history and preferences.
  6. Search Service: Responsible for handling product search functionality.
  7. Payment Service: Responsible for handling order payments, integrating with third-party payment platforms like Alipay, WeChat Pay, etc.
  8. Notification Service: Responsible for sending information about order status changes, event notifications, and more.

Environment Variables

RABBITMQ_URI=<YOUR_RABBITMQ_URI>
ETCD_HOSTS=<YOUR_ETCD_HOSTS>
ETCD_USERNAME=<YOUR_ETCD_USERNAME>
ETCD_PASSWORD=<YOUR_ETCD_PASSWORD>
REDIS_URL=<YOUR_REDIS_URL>
ELASTIC_SEARCH_NODE=<YOUR_ELASTIC_SEARCH_NODE>
ELASTIC_SEARCH_USERNAME=<YOUR_ELASTIC_SEARCH_USERNAME>
ELASTIC_SEARCH_PASSWORD=<YOUR_ELASTIC_SEARCH_PASSWORD>

About

Learning Backend Technology Stacks.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors