How suryansh2188/e-commerce-application works
ShopiTry is a decoupled e-commerce platform. Customers browse the storefront, manage a cart, and check out through the gateway and order service; checkout invokes payment processing, while order-status changes can trigger notifications. Administrators use a separate dashboard for catalog and order operations and service-health monitoring. The README documents the broad service architecture; sampled source confirms catalog seeding and storage behavior, checkout calls to payment and notification services, and local Lambda adapters. Some frontend and service integrations are documented but not visible in the sampled call sites.
Main entry points: src/index.js API Gateway · src/index.js Order Service · src/index.js Catalog Service · local-server.js Payment HTTP Adapter
Components 15
Web Applications
- Storefront
frontend/storefront/src/App.jsx - Admin Dashboard
frontend/admin-dashboard/src/App.jsx
Commerce Services
- API Gateway
backend/gateway-service/src/index.js - Catalog Service
backend/catalog-service/src/index.js - Cart Service
backend/cart-service/src/index.js - Order Service
backend/order-service/src/index.js
Payment and Notifications
- Payment Handler
backend/payment-service/src/handler.js - Payment HTTP Adapter
backend/payment-service/src/local-server.js - Notification Handler
backend/notification-service/src/handler.js - Notification HTTP Adapter
backend/notification-service/src/local-server.js
Product Data
- Catalog Seed Data
backend/catalog-service/src/seedData.js - MongoDB Atlas
- Order State
backend/order-service/src/index.js
Other components
- Customer
- Administrator
Connections 16
- Customer → Storefront: uses
README.md - Administrator → Admin Dashboard: uses
README.md - Storefront → API Gateway: API requests
README.md - Admin Dashboard → API Gateway: API requests
frontend/admin-dashboard/src/App.jsx - API Gateway → Catalog Service: proxies requests
README.md - API Gateway → Cart Service: proxies requests
README.md - API Gateway → Order Service: proxies requests
README.md - API Gateway → Payment HTTP Adapter: proxies requests
README.md - API Gateway → Notification HTTP Adapter: proxies requests
README.md - Order Service → Payment HTTP Adapter: requests payment
backend/order-service/src/index.js - Payment HTTP Adapter → Payment Handler: invokes handler
backend/payment-service/src/local-server.js - Order Service → Notification HTTP Adapter: sends status update
backend/order-service/src/index.js - Notification HTTP Adapter → Notification Handler: invokes handler
backend/notification-service/src/local-server.js - Catalog Service → Catalog Seed Data: loads seed data
backend/catalog-service/src/index.js - Catalog Service → MongoDB Atlas: reads and writes
backend/catalog-service/src/index.js - Order Service → Order State: reads and updates
backend/order-service/src/index.js