Skip to content

An e-commerce website built with React and Firebase to explore Firebase features like authentication and user management. Users can log in, browse products, add items to their cart, and make purchases. Admins can manage orders and users. This project helped me learn how to integrate Firebase with React.

Notifications You must be signed in to change notification settings

shabeeltt/Quick_Cart_firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickCart - Shopping Cart Application

QuickCart is a React-based shopping cart application that allows users to browse products, add them to their cart, and manage their cart using Firebase for user authentication and Firestore for storing cart data. The app features a modern, interactive UI with notifications and cart total calculations.

Features

  • Product List: Fetches and displays a list of products from Firebase Firestore.
  • Product Details: When a user clicks on a product, a popup appears showing detailed information.
  • Add to Cart: Users can add products to their cart, which is saved in Firebase Firestore.
  • User Authentication: Users must be logged in to add items to their cart.
  • Cart Management: The cart is saved in the Firebase Firestore, and users can see the products they added.
  • Cart Total Calculation: Automatically calculates and updates the total price of the items in the cart.
  • Alerts: SweetAlert2 popups notify the user when an item is added to the cart or if the user is not logged in.

Tech Stack

  • React: JavaScript library for building the user interface.
  • Firebase: Used for authentication (Firebase Auth) and storing cart data (Firestore).
  • SweetAlert2: For showing custom alerts.
  • CSS: Custom styling for the application.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/Quick_Cart_firebase.git
    
  2. Navigate into the project directory:

    cd Quick_Cart_firebase
    
  3. Install the required dependencies:

    npm install
    
  4. Set up Firebase:

    • Create a Firebase project and enable Firestore and Firebase Authentication.
    • Replace the Firebase config in src/firebase.js with your Firebase project credentials.
  5. Run the app locally:

    npm start
    
    

About

An e-commerce website built with React and Firebase to explore Firebase features like authentication and user management. Users can log in, browse products, add items to their cart, and make purchases. Admins can manage orders and users. This project helped me learn how to integrate Firebase with React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published