How megumi-08/moises works
This is a fashion and beauty storefront with customer accounts, product discovery, cart/checkout, reviews, wishlists, an AI stylist, and administration. The principal flow is browsing and filtering products, viewing details, adding items to a cart, checking out, and tracking orders; account and admin paths provide separate supporting workflows. The backend is an Express API backed by MongoDB, with Stripe and AI integrations represented as distinct capabilities. Some controllers, routes, and frontend screens are unsampled, so their internal call wiring is not inferred.
Main entry points: App.jsx App routing · server.js Express server · orderController.js Order operations · Product.js Product records
Components 31
Storefront
- App routing
frontend/src/App.jsx - Product browsing
frontend/src/components/ProductList.jsx - Product details
frontend/src/components/ProductDetails.jsx - Cart
frontend/src/components/Cart.jsx - Checkout
frontend/src/components/Checkout.jsx - Product reviews
frontend/src/components/ProductReviews.jsx - Redux store
frontend/src/redux/store.js
Customer features
- Wishlist
frontend/src/components/Wishlist.jsx - Account portal
frontend/src/components/Account.jsx - AI stylist
frontend/src/components/AiStylist.jsx - Admin dashboard
frontend/src/admin/AdminDashboard.jsx
Commerce API
- Product routes
backend/routes/productRoutes.js - Product operations
backend/controllers/productController.js - Order routes
backend/routes/orderRoutes.js - Order operations
backend/controllers/orderController.js - Stripe routes
backend/routes/stripeRoutes.js - Stylist routes
backend/routes/aiRoutes.js - Express server
backend/server.js
Identity and admin
- Auth routes
backend/routes/authRoutes.js - Authentication
backend/controllers/authController.js - User routes
backend/routes/userRoutes.js - Admin routes
backend/routes/adminRoutes.js - Wishlist routes
backend/routes/wishlistRoutes.js
MongoDB data
- Product records
backend/models/Product.js - Order records
backend/models/Order.js - User records
backend/models/User.js - Wishlist records
backend/models/Wishlist.js
Other components
- Shopper
- MongoDB
- Stripe
- AI service
Connections 32
- Shopper → App routing: uses
- App routing → Product browsing: routes to
- App routing → Product details: routes to
- App routing → Cart: routes to
- App routing → Checkout: routes to
- App routing → Product reviews: routes to
- App routing → Wishlist: routes to
- App routing → Account portal: routes to
- App routing → AI stylist: routes to
- App routing → Admin dashboard: routes to
- Product reviews → Redux store: dispatches review
- Express server → Product routes: mounts
- Express server → Order routes: mounts
- Express server → Stripe routes: mounts
- Express server → Stylist routes: mounts
- Express server → Auth routes: mounts
- Express server → User routes: mounts
- Express server → Admin routes: mounts
- Express server → Wishlist routes: mounts
- Product routes → Product operations: dispatches
- Product operations → Product records: reads and writes
- Order routes → Order operations: dispatches
- Order operations → Order records: reads and writes
- Order operations → Product records: adjusts stock
- Auth routes → Authentication: dispatches
- Authentication → User records: reads and writes
- Product records → MongoDB: persists in
- Order records → MongoDB: persists in
- User records → MongoDB: persists in
- Wishlist records → MongoDB: persists in
- Stripe routes → Stripe: integrates
- Stylist routes → AI service: integrates