/sanity-ecommerce

An ecommerce websites with authentication with google and checkout with stripe(will try to add notchpay after)

Primary LanguageJavaScript

E-Commerce App

Home Page

This is a modern ecommerce application built with Next.js, React, and Sanity.io. It features a fully functional shopping cart, product pages, and more. Home Page Home Page Dark Mode

Description

This is an e-commerce app built with Sanity as the headless CMS and React as the frontend library plus NextJS. It allows users to browse and purchase products online.

Features

  • User authentication and registration
  • Product catalog with search and filtering options
  • Product details page with images, descriptions, and pricing
  • Shopping cart functionality
  • Checkout process with payment integration using Stripe
  • Order history and tracking

Product Page Product Page

Installation

  1. Clone the repository:

    git clone https://github.com/Nde-Dilan/e-commerce-app.git ```
    
  2. Usage To start the development server, run the following command:

    npm run dev ```   
    
    

Then, open http://localhost:3000 in your browser to see the app.

Project Structure

Here's an overview of the project's structure:

  • app/: Contains the global CSS file and layout components.
  • components/: Contains reusable React components.
  • ecommerce/: Contains configuration files for the ecommerce functionality.
  • lib/: Contains utility functions and helpers.
  • public/: Contains static files like images.
  • Product Page