Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.11 KB

Latipe Order Service (Version 2)

Tech :

  • Go (1.20)
  • Fiber v2
  • Gorm (MySQL v8)
  • Redis
  • RabbitMQ
  • Go-Resty
  • gRPC
  • FiberPrometheus

Handling the purchase process in e-commerce using microservices architecture. The order service includes several function:

  • CRUD orders data
  • Statisticize commission, profit, order count,...

The order creation process involves two phases:

  • Phase 1: Processes HTTP POST requests, retrieves data by making gRPC requests to other services, and sends messages (order_status:pending) into transaction service.
  • Phase 2: Receives reply messages from transaction service and update order status (failed or success) into the database.

Server endpoints:


Development by Tran Tien Dat