Skip to content

Developed a full-stack, responsive e-commerce web application using Next.js and a headless CMS (Wix JavaScript SDK) to showcase advanced product filtering, category management, and cart functionalities. Leveraged modern frameworks, state management with Zustand, and server-side rendering for optimal performance and scalability

License

Notifications You must be signed in to change notification settings

SamuelIVX/ecommerceWebsite

Repository files navigation

Ecommerce Website

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.

Features

  • 🔐 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

Tech Stack

Frontend

  • Next.js 15 - React framework with App Router
  • React 19 - UI library
  • TypeScript - Type-safe development
  • Tailwind CSS - Styling

Ecommerce & State Management

  • Wix SDK - Ecommerce backend and product management
  • Zustand - Global state management for cart

Authentication

  • OAuth - User authentication
  • Cookie-based Sessions - Secure session management with auto-refresh

Prerequisites

  • Node.js v18 or higher
  • npm or yarn
  • Wix Developer Account

Getting Started

1. Clone the Repository

git clone https://github.com/SamuelIVX/ecommerceWebsite.git
cd ecommerceWebsite

2. Install Dependencies

npm install

3. Configure Environment Variables

Create 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_here

4. Run the Development Server

npm run dev

Open http://localhost:3000 in your browser.

Project Structure

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

About

Developed a full-stack, responsive e-commerce web application using Next.js and a headless CMS (Wix JavaScript SDK) to showcase advanced product filtering, category management, and cart functionalities. Leveraged modern frameworks, state management with Zustand, and server-side rendering for optimal performance and scalability

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages