Full-Stack Ecommerce Platform
"Production-ready shopping experience."
A modern ecommerce web application built with Next.js and Wix, featuring user authentication, cart management, product search, and a complete checkout flow.
- 🔐 User Authentication - OAuth integration with secure token refresh
- 🛒 Shopping Cart - Full cart management with persistent state
- 🔍 Product Search - Real-time search with filtering and pagination
- 💳 Checkout Flow - Complete checkout process ready for payment integration
- 📱 Responsive Design - Mobile-first design with Tailwind CSS
- ⚡ Optimized Performance - Server-side rendering and static generation
- Next.js 15 - React framework with App Router
- React 19 - UI library
- TypeScript - Type-safe development
- Tailwind CSS - Styling
- Wix SDK - Ecommerce backend and product management
- Zustand - Global state management for cart
- OAuth - User authentication
- Cookie-based Sessions - Secure session management with auto-refresh
- Node.js v18 or higher
- npm or yarn
- Wix Developer Account
git clone https://github.com/SamuelIVX/ecommerceWebsite.git
cd ecommerceWebsitenpm installCreate a .env file in the root directory:
NEXT_PUBLIC_WIX_CLIENT_ID=your_client_id_here
FEATURED_PRODUCTS_CATEGORY_ID=your_featured_products_id_here
NEXT_PUBLIC_WIX_APP_ID=your_public_wix_app_id_herenpm run devOpen http://localhost:3000 in your browser.
src/
├── app/ # Next.js pages and routes
├── components/ # React components
│ ├── CartModel.tsx
│ ├── CategoryList.tsx
│ ├── ProductList.tsx
│ └── ...
├── context/ # React context providers
├── hooks/ # Custom React hooks
└── lib/ # Utility functions and clients