How amansingh0710/mantra-web-application works
LifeInfotech is an e-commerce marketplace platform with customer storefront, vendor and delivery operations, and an administrative back office. The visible workflow includes browsing a product catalog, cart interaction, and operational order fulfillment; delivery staff accept and update assigned orders, while administrators manage catalog listings, refunds, and marketplace operations. The tree also documents reporting, finance, support, and content-management capabilities. Sampled source confirms selected API-to-controller-to-model links; frontend API wiring and several unsampled subsystems are represented only where their paths are evident.
Main entry points: refundController.js Refund Processing · app.js API Application · VendorProduct.js Product Listings · reviewController.js Reviews
Components 26
Customer and Staff Apps
- Storefront
my-next-app/src/app - Delivery Workspace
my-next-app/src/app/delivery - Admin Workspace
my-next-app/src/app/admin
Backend API
- API Application
backend/app.js - Catalog Routes
backend/routes/admin/AdminproductRoutes.js - Delivery Routes
backend/routes/deliveryBoy/deliveryBoyRoutes.js - Refund Routes
backend/routes/admin/Finance/refundRoutes.js - Review Routes
backend/routes/user/reviewRoutes.js
Marketplace Operations
- Catalog Management
backend/controllers/admin/AdminproductController.js - Reviews
backend/controllers/user/reviewController.js - Order Fulfillment
backend/controllers/deliveryBoy/deliveryBoyController.js - Orders
backend/models/Order.js - Product Listings
backend/models/VendorProduct.js - Review Records
backend/models/Review.js
Administration and Finance
- Admin Capabilities
backend/controllers/admin - Finance Operations
backend/controllers/admin/Finance - Refund Processing
backend/controllers/admin/Finance/refundController.js - Refund Records
backend/models/Finance/Refund.js - Wallet Records
backend/models/Finance/Wallet.js - Wallet Transactions
backend/models/Finance/WalletTransaction.js - Reporting and Exports
backend/controllers/admin/orderReportController.js - Support Tickets
backend/controllers/admin/Help&Support/supportController.js - Support Records
backend/models/Help&Support/Support.js
Other components
- Customer
- Administrator
- Delivery Partner
Connections 23
- Customer → Storefront: browses
- Administrator → Admin Workspace: manages
- Delivery Partner → Delivery Workspace: fulfills
- API Application → Catalog Routes: mounts
- API Application → Delivery Routes: mounts
- API Application → Refund Routes: mounts
- API Application → Review Routes: mounts
- Catalog Routes → Catalog Management: dispatches
- Catalog Management → Product Listings: reads/writes
- Delivery Routes → Order Fulfillment: dispatches
- Order Fulfillment → Orders: reads/writes
- Order Fulfillment → Product Listings: reads
- Refund Routes → Refund Processing: dispatches
- Refund Processing → Orders: reads/writes
- Refund Processing → Refund Records: reads
- Refund Processing → Wallet Records: reads/writes
- Refund Processing → Wallet Transactions: creates
- Review Routes → Reviews: dispatches
- Reviews → Review Records: reads/writes
- Reviews → Product Listings: reads
- Reporting and Exports → Orders: queries
- Reporting and Exports → Product Listings: queries
- Support Tickets → Support Records: reads/writes