How husnain-ashfaq39/walewah-online-shop works
Project Type and Purpose
• This is a full-stack, internationalized e-commerce front-end built with Next.js 13’s App Router.
• It delivers server-rendered pages, client-side hydration, and static assets (images, SCSS, SVG) to optimize performance and SEO.
• It consumes external RESTful APIs (via Axios in src/Utils/AxiosUtils/API.js) for products, orders, authentication, cart, blog, settings, etc.
Top-Level Architectural Overview
• User’s Browser (Client)
• Next.js Frontend Server (Edge or Node)
• App Router handles SSR/SSG and API‐fetch caching
• Middleware for routing / authentication
• Public CDN or Static Hosting
• Serves /public and /.next/static assets
• External API Backend(s)
• Authentication Service (login, OTP, reset)
• Product & Catalog Service
• Order & Cart Service
• User Profile Service
• Blog/CMS Service
• Third-Party Integrations
• Payment Gateway (Stripe, PayPal, etc.)
• Email/SMS Provider (OTP, notifications)
• Analytics / A/B Testing
• Data Stores (behind the APIs)
• Relational/NoSQL DB for users, orders, products
• Blob storage for images/content