How goyalanushka2863/epiglow-e-commerce-site works
Epiglow is a skincare e-commerce application. Shoppers browse the catalog, inspect products, manage a cart, then authenticate to proceed through checkout and view orders; signup/login supports that flow. Informational pages and the newsletter are additional storefront capabilities. The sampled backend exposes catalog, authentication, cart, and order APIs backed by MongoDB models. The README documents search, filters, and logout, but the available excerpts do not establish their full wiring; unsampled order-creation and payment behavior is therefore not asserted.
Main entry points: App.jsx Route application · index.js Express API · Checkout.jsx Checkout flow · AxiosInstance.js API client
Components 27
Storefront
- Route application
frontend/src/App.jsx - Home discovery
frontend/src/pages/Home - Product catalog
frontend/src/pages/Category - Product detail
frontend/src/pages/Product - Store navigation
frontend/src/components/Header.jsx - Information pages
frontend/src/pages/About - FAQ content
frontend/src/pages/FAQ - Contact page
frontend/src/pages/Contact - Terms content
frontend/src/pages/T&Cs - Newsletter signup
frontend/src/components/NewsLetterSignUp.jsx
Shopping
- Cart management
frontend/src/pages/Shopping Cart/Body.jsx - Checkout flow
frontend/src/pages/Checkout/Checkout.jsx - Shipping details
frontend/src/pages/Checkout/ShippingDetails.jsx - Billing details
frontend/src/pages/Checkout/BillingDetails.jsx - Payment details
frontend/src/pages/Checkout/PaymentDetails.jsx - Order history
frontend/src/pages/Order/Body.jsx
Backend APIs
- API client
frontend/src/utils/AxiosInstance.js - Express API
backend/index.js - Token verification
backend/utilities.js
MongoDB Models
- User records
backend/models/UserModel.js - Product records
backend/models/ProductModel.js - Cart records
backend/models/CartModel.js - Order records
backend/models/OrderModel.js
Other components
- Shopper
- MongoDB
Connections 44
- Shopper → Route application: uses
frontend/src/App.jsx - Route application → Home discovery: routes
frontend/src/App.jsx - Route application → Product catalog: routes
frontend/src/App.jsx - Route application → Product detail: routes
frontend/src/App.jsx - Route application → Cart management: routes
frontend/src/App.jsx - Route application → Checkout flow: guards
frontend/src/App.jsx - Route application → Signup: routes
frontend/src/App.jsx - Route application → Login: routes
frontend/src/App.jsx - Route application → Order history: guards
frontend/src/App.jsx - Route application → Information pages: routes
frontend/src/App.jsx - Route application → FAQ content: routes
frontend/src/App.jsx - Route application → Contact page: routes
frontend/src/App.jsx - Route application → Terms content: routes
frontend/src/App.jsx - Shopper → Store navigation: navigates
frontend/src/components/Header.jsx - Store navigation → Cart management: opens
frontend/src/components/Header.jsx - Shopper → Signup: registers
- Shopper → Login: authenticates
- Shopper → Product catalog: browses
- Shopper → Product detail: views
- Shopper → Checkout flow: checks out
- Shopper → Information pages: reads
- Shopper → FAQ content: reads
- Shopper → Contact page: contacts
- Shopper → Terms content: reads
- Shopper → Newsletter signup: subscribes
- Signup → API client: requests
frontend/src/pages/SignUp/Form.jsx - Login → API client: requests
frontend/src/pages/Login/Form.jsx - Cart management → API client: requests
frontend/src/pages/Shopping Cart/Body.jsx - Checkout flow → API client: requests
frontend/src/pages/Checkout/Checkout.jsx - Order history → API client: requests
frontend/src/pages/Order/Body.jsx - API client → Express API: HTTP calls
- Express API → Token verification: verifies tokens
backend/index.js - Express API → User records: reads/writes
backend/index.js - Express API → Product records: reads/writes
backend/index.js - Express API → Cart records: reads/writes
backend/index.js - Express API → Order records: reads
backend/index.js - User records → MongoDB: persists
- Product records → MongoDB: persists
- Cart records → MongoDB: persists
- Order records → MongoDB: persists
- Checkout flow → Shipping details: renders
frontend/src/pages/Checkout/Checkout.jsx - Checkout flow → Billing details: renders
frontend/src/pages/Checkout/Checkout.jsx - Checkout flow → Payment details: renders
frontend/src/pages/Checkout/Checkout.jsx - Billing details → Cart management: renders
frontend/src/pages/Checkout/BillingDetails.jsx