Customer-facing ecommerce application built with Next.js 14+, React 19, and our custom Design System.
- Update to Next.js 14+ and React 19
- Add SDK and Design System dependencies
- Configure Next.js (next.config.js)
- Setup PandaCSS integration
- Configure absolute imports
- Add environment variables (.env.local)
- Create home page
- Test Design System components
- Test SDK product list hook
- Verify API connection
-
Home / Landing page
- Hero section
- Featured products
- Categories showcase
- Testimonials/Reviews
-
Product Listing Page
- Product grid/list view
- Filters (category, price, rating)
- Sorting options
- Pagination
- Search functionality
-
Product Detail Page
- Product images gallery
- Product information
- Price and variants
- Add to cart
- Reviews section
- Related products
-
Category Pages
- Category hero
- Filtered product list
- Subcategories navigation
- Login page
- Register page
- Forgot password
- Reset password
- Dashboard/Profile
- Order history
- Order details
- Address management
- Wishlist
- Account settings
-
Cart page
- Cart items list
- Quantity controls
- Remove items
- Apply discount codes
- Price summary
-
Checkout page
- Shipping information
- Payment method selection
- Order review
- Place order
-
Order confirmation page
-
Order tracking page
- Search results page
- About us
- Contact us
- FAQ
- Terms & Conditions
- Privacy Policy
- 404 Not Found
- 500 Error page
- Logo
- Main navigation
- Search bar
- Cart icon with count
- User menu (login/profile)
- Mobile responsive menu
- Company information
- Links (categories, policies)
- Newsletter signup
- Social media links
- Payment methods icons
- Breadcrumbs
- Category navigation
- Mobile bottom navigation
- ProductCard (grid/list variants)
- ProductGallery (image slider)
- ProductInfo
- ProductReviews
- RelatedProducts
- QuickView modal
- AddToCart button
- CartDrawer/CartModal
- CartItem
- CartSummary
- WishlistButton
- CompareButton
- SearchBar with autocomplete
- CategoryFilter
- PriceRangeFilter
- RatingFilter
- BrandFilter
- FilterChips (active filters)
- SortDropdown
- LoginForm
- RegisterForm
- CheckoutForm
- AddressForm
- ReviewForm
- NewsletterForm
- Hero banner
- CategoryCard
- Testimonial card
- Newsletter section
- LoadingStates (skeleton loaders)
- EmptyStates (empty cart, no results)
- ErrorStates
- Setup SDK providers in root layout
- Cart state management
- Auth state management
- Wishlist state management
- Recent views tracking
- Full-text product search
- Filter by category
- Filter by price range
- Filter by rating
- Filter by brand
- Multi-filter support
- URL state sync (query params)
- Optimistic UI updates
- Loading states
- Error handling
- Toast notifications
- Infinite scroll / Pagination
- Recently viewed products
- Product recommendations
- Image optimization
- Code splitting
- Route prefetching
- API response caching
- Static page generation (SSG)
- Incremental static regeneration (ISR)
- Meta tags
- Open Graph tags
- Structured data (JSON-LD)
- Sitemap generation
- robots.txt
- Recommended products
- Recently viewed
- Wishlist
- Product comparison
- Product reviews
- Review voting (helpful)
- Share products
- Social login (Google, GitHub)
- Guest checkout
- Save addresses
- Multiple shipping addresses
- Discount codes
- Gift wrapping option
- Order notes
- Page view tracking
- Product view tracking
- Add to cart tracking
- Purchase tracking
- User behavior analytics
- Mobile-first responsive design
- Touch-friendly interactions
- Mobile bottom navigation
- Swipeable product gallery
- Pull-to-refresh
- Mobile checkout optimization
- Unit tests (components)
- Integration tests (pages)
- E2E tests (user flows)
- Performance testing
- Accessibility testing (a11y)
- Cross-browser testing
- Mobile device testing
- Accessibility audit
- Performance audit (Lighthouse)
- Security audit
- Framework: Next.js 14+ (App Router)
- React: 19+
- TypeScript: 5+
- Node: 18+
- Design System:
@react-shop/design-system - PandaCSS: Zero-runtime CSS-in-JS
- SDK:
@react-shop/sdk - React Query: Server state management
- Axios: HTTP client
- React Hook Form: Form management
- Zod: Schema validation
- next-seo: SEO optimization
- next-sitemap: Sitemap generation
- Google Analytics: User tracking
- Vercel Analytics: Performance monitoring
cd apps/web
pnpm devpnpm build
pnpm startNEXT_PUBLIC_API_URL=http://localhost:5001
NEXT_PUBLIC_GOOGLE_CLIENT_ID=xxx
NEXT_PUBLIC_GITHUB_CLIENT_ID=xxxapps/web/
├── app/ # Next.js App Router
│ ├── (auth)/ # Auth routes group
│ │ ├── login/
│ │ └── register/
│ ├── (shop)/ # Shop routes group
│ │ ├── products/
│ │ ├── cart/
│ │ └── checkout/
│ ├── layout.tsx
│ ├── page.tsx
│ └── globals.css
├── components/ # React components
│ ├── layout/ # Header, Footer, etc.
│ ├── product/ # Product components
│ ├── cart/ # Cart components
│ └── ui/ # Shared UI components
├── hooks/ # Custom React hooks
├── lib/ # Utilities and helpers
├── public/ # Static assets
├── next.config.js
├── tsconfig.json
└── package.json
- Project structure defined
- Feature plan documented
- Phase 1: Setup & Configuration
- Update dependencies
- Configure Next.js
- Create home page
- Test SDK integration