/ecom

A platform where users can browse products, add them to a cart, and complete a purchase using Stripe for payment processing.

Primary LanguageJavaScript

E-Commerce Platform with React.js and Stripe

Overview

This project aims to build a small but feature-rich e-commerce platform. Users can browse products, add them to a cart, and complete a purchase using Stripe for payment processing.

Key Features

  • Product listing and details pages
  • Shopping cart functionality
  • User authentication and role-based access control
  • Payment processing using Stripe
  • Advanced state management with Redux/Recoil
  • Performance optimizations (Lazy loading, code splitting)

Tech Stack

  • Frontend: React.js
  • State Management: Redux/Recoil
  • Payment Gateway: Stripe API
  • Other Libraries: React Router, etc.

Installation

  1. Clone the repository:

    git clone https://github.com/specialGrace/ecom.git
    
  2. Navigate to the project directory:

    cd ecom
    
  3. Install dependencies:

    npm install
    
  4. Run the project:

    npm start
    

Usage

  • Browsing Products: Navigate to the homepage to see a list of available products.

  • Product Details: Click on a product to view its details.

  • Adding to Cart: Click the 'Add to Cart' button on a product to add it to your shopping cart.

  • Checkout: Click on the cart icon and proceed to checkout to complete your purchase.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.