01
Stage 1. User Login & Product Browsing
Process
The customer logs into the E-Commerce Application and browses available products.
Tools
PostgreSQL
Implementation
The application authenticates the customer and retrieves product information such as product name, price, availability, and category from the application database.
02
Stage 2. Product Selection & Cart Management
Process
The customer selects products and adds them to the shopping cart.
Tools
PostgreSQL
Implementation
The application records the selected products, quantities, prices, and cart information in the application database and calculates the current cart value.
03
Stage 3. Order Creation
Process
The customer confirms the cart and places an order.
Tools
PostgreSQL
Implementation
The application creates an order record containing the customer, product, quantity, price, delivery, and order-status information and assigns an order ID.
04
Stage 4. Payment Processing
Process
The customer selects a payment method and completes the payment.
Tools
PostgreSQL
Implementation
The application sends the payment request to the payment service, receives the payment result, and records the transaction amount, payment method, transaction status, and timestamp.
05
Stage 5. Order Fulfillment & Delivery
Process
The application processes the confirmed order and sends it for fulfillment and delivery.
Tools
PostgreSQL
Implementation
The application updates order statuses such as Confirmed, Processing, Shipped, Delivered, or Cancelled and stores the status changes and delivery information.
06
Stage 6. Refund & Transaction Management
Process
When an order is cancelled or returned, the application processes the required refund.
Tools
PostgreSQL
Implementation
The application records refund information, updates the payment status, and maintains the relationship between the original transaction, order, and refund.
07
Stage 7. Business Analysis & Reporting
Process
The business team analyzes the accumulated application data to understand sales, revenue, payments, refunds, and order performance.
Tools
ClickHouse
Apache Superset
Implementation
The processed transaction and order data is stored in ClickHouse. Business users access Apache Superset dashboards to view sales, revenue, payment, refund, and order-performance reports.