Home Page 1 (Main)
Route: / — Hero, collections, trending & popular products, discounts.
A modern, responsive e‑commerce platform built with Next.js 15, React 19, and TypeScript.
Install Node.js 18.0+ and a package manager: npm, yarn, pnpm or bun.
Clone the repository
git clone <repository-url>
cd fold-reactInstall dependencies
npm install
# or
yarn install
# or
pnpm install
# or
bun installStart dev server
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen in browser
Navigate to http://localhost:3000
Development build
npm run devProduction build
npm run build
npm startLinting
npm run lintfold-react/
├── app/
│ ├── (auth)/
│ │ ├── layout.tsx
│ │ ├── signin/
│ │ └── signup/
│ ├── about/
│ │ ├── about-2/
│ │ └── page.tsx
│ ├── api/
│ └── page.tsx
├── components/
├── constants/
├── data/
├── hooks/
├── lib/
├── public/
├── service/
├── store/
├── types/
├── utils/
├── views/
├── next.config.ts
├── package.json
└── README.mdRoute: / — Hero, collections, trending & popular products, discounts.
Route: /home/home-2 — Best categories, popular products, news articles.
Deals, special products, shop by room.
Variants including beauty, flash sales, collections, top sellers and testimonials.
Product Management: multiple product cards, detail layouts, reviews, wishlist, search.
Shopping Cart: add/remove/update quantities, persistent cart, multi-step checkout.
User Auth: sign up/in, profiles, password recovery.
Cards, forms, navigation, grid layouts, animations and Tailwind-based styling. Dark mode built-in with system preference and manual toggle.
Breakpoints: mobile < 768px, tablet 768–1024px, desktop > 1024px. Dark mode respects system preference and stores user selection.
Key endpoints
/api/home-1/... /api/home-2/... /api/home-3/... /api/product/... /api/post/...Typical data flow: Next.js API routes → service layer → React Query → UI components
This project is licensed under the MIT License.