Skip to content

A full-stack application with Supabase backend, React frontend, and Supabase authentication. It supports real-time features, state management with Redux and React Query, and allows users to create their own personalized online store with optimized performance and dynamic data handling|| Part-1

Notifications You must be signed in to change notification settings

bakerAllozi/E-commerce-React-Full-Stack-Seller-Platform

Repository files navigation

[E-commerce Platform] - Build Your Own Store

MIT License
React
Supabase
Vite

🌟 Introduction

E-commerce Platform is a comprehensive web application that allows users to create, manage, and personalize their online stores. Built with cutting-edge technologies like React, Supabase, Redux Toolkit, and React Query, it delivers high performance, responsive design, and a seamless user experience.

This platform is packed with features for store owners and customers, such as real-time chat, product inventory charts, and interactive product reviews.


🚀 Features

🛒 Store Management

  • Create, edit, and delete your online store.
  • Add, edit, and remove products.
  • Visualize inventory data using interactive charts for better management.

📊 Product Interactions

  • Comment on products with the ability to reply to comments.
  • Rate products and view aggregate ratings.

💬 Real-Time Chat

  • Real-time messaging between store owners, clients, or other users.
  • User Activity Status: View the online/offline status of the user you're chatting with.

👤 User Profile Management

  • Login/logout via email or Google authentication.
  • Update user details, including username, password, and avatar.

Performance and State Management

  • Global State: Managed with Redux Toolkit to handle Supabase logic seamlessly.
  • Remote State: Managed with React Query for efficient caching and real-time updates.
  • Custom hooks for modular and reusable logic.

🎨 Design and Animations

  • Fully responsive design using Tailwind CSS.
  • Engaging animations powered by Framer Motion for smooth transitions.

💳 Stripe Payment Integration

  • Modern and Secure: Provides a seamless and safe checkout experience.
  • Real-Time Updates: Automatically reduces inventory stock after successful purchases.
  • User-Friendly Design: Ensures an intuitive and smooth payment process.

🛠️ Technologies Used

Core Frameworks and Tools

  • React.js - Frontend library for building user interfaces.
  • Vite - High-performance build tool for fast development.

Backend and State Management

  • Supabase - Backend-as-a-service for authentication, real-time database, and storage.
  • Redux Toolkit - Centralized global state management.
  • React Query - Efficient remote state management with data caching.

UI and Styling

  • Tailwind CSS - Modern utility-first styling framework.
  • Framer Motion - For smooth and dynamic animations.
  • MUI (Material UI) - Prebuilt components for enhanced UI design.

Utilities and Add-ons

  • React Hook Form - Managing form state and validation.
  • Chart.js - Interactive inventory management charts.
  • Swiper - Advanced slider for product carousels.

DevTools and Testing

  • ESLint - Linting tool for maintaining code quality.
  • Prettier - Ensures consistent code formatting.
  • Vite Plugin ESLint - Integrates ESLint directly with Vite.

📂 Project Structure

src/
├── assets/          # Static assets (images, icons, fonts, etc.)
├── components/      # Reusable UI components
├── features/        # Feature-specific logic (e.g., Redux slices, React Query hooks)
├── pages/           # Complete pages (e.g., Dashboard, Login, Product Listing)
├── services/        # API handling and Supabase integration
├── utils/           # Utility functions and helpers
├── App.tsx          # Main application entry point
└── main.tsx         # Starting point with Vite integration and rendering

📦 Installation

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https:/github.com/bakerAllozi/e-commerce-react-Final-version-
    
  2. Navigate to the project directory:

    cd ecommerce-platform
  3. Install dependencies:

    npm install
  4. Configure Environment Variables:
    Create a .env file and add the following keys:

    VITE_SUPABASE_URL=your-supabase-url
    VITE_SUPABASE_ANON_KEY=your-supabase-anon-key
    
  5. Run the development server:

    npm run dev

🎥 Screenshots

  • Dashboard with Inventory Charts:
    Dashboard Screenshot Dashboard Screenshot2 Dashboard Screenshot3

    • more about store
      Cart checkout searcher login
  • Product Comments and Replies:
    Comments Screenshot Comments Screenshot2

  • Real-Time Chat:
    Chat Screenshot


🧑‍💻 Developer

About

A full-stack application with Supabase backend, React frontend, and Supabase authentication. It supports real-time features, state management with Redux and React Query, and allows users to create their own personalized online store with optimized performance and dynamic data handling|| Part-1

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages