Skip to content

skp3214/ShopVibe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

ShopVibe

Welcome to ShopVibe, a full-featured e-commerce platform built using the MERN stack and TypeScript for both the frontend and backend. This application ensures a seamless shopping experience with features like user authentication, cart management, product browsing, and an admin dashboard for managing products, orders, and transactions.

ShopVibe.mp4

Website Link

Features

User Features:

  • 🔒 Authentication: Secure login and registration using Firebase.
  • 🔍 Product Search & Filter: Intuitive product search and filtering.
  • 🛒 Cart Management: Add, remove, and update items in the shopping cart.
  • 💳 Checkout & Payment: Secure payments via Stripe integration.

Admin Features:

  • 📊 Dashboard: Comprehensive stats and analytics.
  • 🛠️ Product Management: Add, edit, and delete products.
  • 📋 Order Management: View and manage customer orders.
  • 💰 Transaction Management: Monitor and manage transactions.
  • 📈 Data Visualization: Interactive charts (Bar, Pie, Line) for insights.
  • 🛠️ Admin Tools: Applications like Coupon Management and Stopwatch.

Screenshots

image image image image image image

Installation & Setup

Prerequisites:

  • 📥 Node.js
  • 📥 MongoDB
  • 📥 Stripe account

Backend Setup:

  1. 📂 Clone the repository.
  2. 📁 Navigate to the backend directory.
  3. 📦 Install dependencies:
    npm install
  4. 🛠️ Create a .env file with the following:
    MONGO_URI=your_mongo_connection_string
    STRIPE_KEY=your_stripe_api_key
    PORT=your_port
  5. 🚀 Start the server:
    npm run watch && npm start

Frontend Setup:

  1. 📁 Navigate to the frontend directory.
  2. 📦 Install dependencies:
    npm install

3.🛠️ Create a .env file with the following:

VITE_FIREBASE_API_KEY=
VITE_FIREBASE_AUTH_DOMAIN=
VITE_FIREBASE_PROJECT_ID=
VITE_FIREBASE_STORAGE_BUCKET=
VITE_FIREBASE_MESSAGING_SENDER_ID=
VITE_FIREBASE_APP_ID=

VITE_SERVER_URL=
VITE_STRIPE_KEY=
  1. 🚀 Start the development server:
    npm run dev

Folder Structure

Backend:

  • 📁 routes/: API routes for users, products, orders, payments, and dashboard.
  • 🛠️ middleware/: Error handling middleware.
  • 📂 utils/: Utility functions like database connection.
  • 📂 uploads/: Static file storage.

Frontend:

  • 📁 pages/: React components for user and admin pages.
  • 🗂️ redux/: Redux Toolkit slices and API integrations.
  • 🛠️ components/: Reusable UI components.
  • 🔑 firebase/: Firebase configuration.

Tech Stack

Frontend:

  • 🔔 react-hot-toast: Notifications.
  • 📊 react-chartjs-2: Data visualization.
  • 🔑 firebase: Authentication.
  • 🌐 axios: API calls.

Backend:

  • 🗄️ mongoose: MongoDB ODM.
  • 🗃️ node-cache: Caching.
  • 💳 stripe: Payment gateway.
  • 📂 multer: File handling.

Deployment

  • 🌍 The backend is deployed on render.
  • 🌐 The frontend is deployed on vercel.

Contributions

Contributions are welcome! Please fork the repository and submit a pull request for review.


Contact

For any inquiries or support, please reach out to:

Releases

No releases published

Packages

No packages published

Languages