How arunprabuappaiyan/nextjs-project works
This is a small Next.js storefront-style demo: users can browse categories and item listings, inspect an item, open a cart, and reach account and help pages. The sampled catalog uses a small in-component item list; the separate products data file and many route bodies were not inspected, so their behavior and connections are uncertain. The map preserves the visible routes and the README’s limited example context without implying checkout, persistence, or real account workflows.
Main entry points: components/index.js Top navigation · account/index.js Account home · Back/index.js Back control · items/index.js Item listing
Components 27
Storefront
- Home
pages/index.js - Categories
pages/category.js - Item listing
pages/items/index.js - Item detail
pages/items/[id]/index.js - View bag
pages/viewbag/index.js - Search
pages/search.js - Wishlist
pages/my-wish.js - Orders
pages/orders.js - Notifications
pages/notification.js - Payment type
pages/payment-type.js - Wallet
pages/wallet.js
Account
- Account home
pages/account/index.js - Login
pages/account/login/index.js - Registration
pages/account/register.js - User profile
pages/account/user/index.js - Address details
pages/account/user/address/index.js - Bank details
pages/account/user/bank/index.js
Support and policies
- Help center
pages/help.js - Shipment and delivery
pages/shipment-and-delivery.js - Returns and refunds
pages/return-and-refund.js - Privacy policy
pages/privacy-and-policy.js - Terms
pages/terms-and-condition.js
Shared UI and data
- Top navigation
components/index.js - Back control
components/Back/index.js - Item list data
components/ListOfItems/index.js - Products data
data/products.js
Other components
- Visitor
Connections 26
- Visitor → Home: opens
- Top navigation → Home: links to
components/index.js - Top navigation → Categories: links to
components/index.js - Top navigation → View bag: links to
components/index.js - Top navigation → Help center: links to
components/index.js - Top navigation → Account home: links to
components/index.js - Categories → Item listing: links to
pages/category.js - Item listing → Item list data: reads
pages/items/index.js - Item listing → Item detail: links to
- Item detail → Item list data: searches
pages/items/[id]/index.js - Account home → Login: links to
pages/account/index.js - Account home → Registration: links to
pages/account/index.js - Account home → User profile: links to
pages/account/index.js - User profile → Address details: links to
pages/account/user/index.js - User profile → Bank details: links to
pages/account/user/index.js - Categories → Top navigation: renders
pages/category.js - Categories → Back control: renders
pages/category.js - Item listing → Top navigation: renders
pages/items/index.js - Item listing → Back control: renders
pages/items/index.js - Item detail → Back control: renders
pages/items/[id]/index.js - View bag → Top navigation: renders
pages/viewbag/index.js - View bag → Back control: renders
pages/viewbag/index.js - Account home → Top navigation: renders
pages/account/index.js - Account home → Back control: renders
pages/account/index.js - Help center → Top navigation: renders
pages/help.js - Help center → Back control: renders
pages/help.js