How nihaltiwari01/anytime works
GoCart is a Next.js multi-vendor commerce application with customer storefront, vendor tools, and an administrator panel. The customer path is product discovery, cart review, and order viewing; vendors submit stores and manage products and orders, while admins oversee stores and platform metrics. Sampled pages currently use dummy data or contain placeholder business logic, so the graph shows the documented product scope without implying a functioning backend. Some unsampled features are included from the README and tree; those relationships are documented rather than source-verified.
Main entry points: cart/page.jsx Cart Review · (public)/page.jsx Home Discovery · store.js Redux Store · orders/page.jsx Order History
Components 34
Customer Storefront
- Home Discovery
app/(public)/page.jsx - Product Catalog
app/(public)/shop/page.jsx - Vendor Storefronts
app/(public)/shop/[username]/page.jsx - Product Details
app/(public)/product/[productId]/page.jsx - Cart Review
app/(public)/cart/page.jsx - Cart Controls
components/Counter.jsx - Order Summary
components/OrderSummary.jsx - Order History
app/(public)/orders/page.jsx - Order Display
components/OrderItem.jsx - Page Heading
components/PageTitle.jsx - Best Sellers
components/BestSelling.jsx - Storefront Hero
components/Hero.jsx - Latest Products
components/LatestProducts.jsx - Newsletter
components/Newsletter.jsx
Vendor Workspace
- Store Application
app/(public)/create-store/page.jsx - Sales Dashboard
app/store/page.jsx - Product Creation
app/store/add-product/page.jsx - Product Management
app/store/manage-product/page.jsx - Order Management
app/store/orders/page.jsx
Admin Console
- Platform Dashboard
app/admin/page.jsx - Orders Analytics
components/OrdersAreaChart.jsx - Store Oversight
app/admin/stores/page.jsx - Store Information
components/admin/StoreInfo.jsx - Vendor Approval
app/admin/approve/page.jsx - Coupon Management
app/admin/coupons/page.jsx
Client State
- Redux Store
lib/store.js - Cart State
lib/features/cart/cartSlice.js - Product State
lib/features/product/productSlice.js - Address State
lib/features/address/addressSlice.js - Rating State
lib/features/rating/ratingSlice.js - Store Provider
app/StoreProvider.js
Other components
- Customer
- Vendor
- Administrator
Connections 33
- Customer → Home Discovery: browses
README.md - Customer → Product Catalog: browses
README.md - Customer → Vendor Storefronts: shops
README.md - Customer → Product Details: views
README.md - Customer → Cart Review: reviews cart
- Cart Review → Cart State: reads and dispatches
app/(public)/cart/page.jsx - Cart Review → Product State: reads products
app/(public)/cart/page.jsx - Cart Review → Cart Controls: renders
app/(public)/cart/page.jsx - Cart Review → Order Summary: renders
app/(public)/cart/page.jsx - Cart Review → Page Heading: renders
app/(public)/cart/page.jsx - Customer → Order History: views orders
- Order History → Order Display: renders
app/(public)/orders/page.jsx - Order History → Page Heading: renders
app/(public)/orders/page.jsx - Vendor → Store Application: applies
README.md - Vendor → Sales Dashboard: views sales
README.md - Vendor → Product Creation: manages products
README.md - Vendor → Product Management: manages products
README.md - Vendor → Order Management: tracks orders
README.md - Administrator → Platform Dashboard: oversees platform
README.md - Platform Dashboard → Orders Analytics: renders chart
app/admin/page.jsx - Administrator → Store Oversight: oversees stores
README.md - Store Oversight → Store Information: renders
app/admin/stores/page.jsx - Administrator → Vendor Approval: reviews vendors
README.md - Administrator → Coupon Management: manages coupons
- Store Provider → Redux Store: provides
- Redux Store → Cart State: registers reducer
lib/store.js - Redux Store → Product State: registers reducer
lib/store.js - Redux Store → Address State: registers reducer
lib/store.js - Redux Store → Rating State: registers reducer
lib/store.js - Home Discovery → Storefront Hero: renders
app/(public)/page.jsx - Home Discovery → Latest Products: renders
app/(public)/page.jsx - Home Discovery → Best Sellers: renders
app/(public)/page.jsx - Home Discovery → Newsletter: renders
app/(public)/page.jsx