Skip to content

New version of order services, integrate gRPC framework

Notifications You must be signed in to change notification settings

Latipe-EC/order-service-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Languages