Giter Site home page Giter Site logo

shaban-eissa / react-amazon-clone Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 255 KB

The "React Amazon Clone" repository is e-commerce web application built using React and Firebase. It replicates key features of Amazon, including user authentication, product listing, and a shopping cart with payments. The project provides a practical demonstration of React and Firebase.

JavaScript 74.55% HTML 5.14% CSS 20.31%

react-amazon-clone's Introduction

React Amazon Clone

Amazon clone built with React and Firebase.

Table of Contents

Introduction

This project is a clone of the popular e-commerce platform Amazon, created using React for the frontend and Firebase for backend services. It aims to replicate the core features of Amazon.

Features

  • User Authentication: Allow users to sign up, log in, and log out securely.
  • Product Listing: Display a variety of products with details such as name, price, and images.
  • Shopping Cart: Enable users to add products to the cart and proceed to checkout.
  • Order Processing: Simulate the order processing flow, including payment integration.

Demo













Installation

  1. Clone the repository:

    git clone https://github.com/Shaban-Eissa/React-Amazon-Clone.git
  2. Navigate to the project directory:

    cd React-Amazon-Clone
  3. Install dependencies:

    npm install
  4. Navigate to functions folder:

     cd functions 
  5. Install dependencies:

    npm install
  6. Set up Firebase:

    • Create a Firebase project at Firebase Console.
    • Set up authentication with email/password provider.
    • Set up firestore database in test mode.
    • Obtain your Firebase configuration and replace it in src/Firebase/firebase.js.
    • Install Firebase CLI by running the following command in your terminal: npm install -g firebase-tools.
    • Authenticate to Firebase using your Google account by running: firebase login.
  7. Open terminal to start firebase cloud functions:

    firebase emulators:start
  8. Open another terminal to start the application:

    npm start
  9. Open your browser and visit http://localhost:3000.

Usage

  • Sign up or log in to explore the products.
  • Add products to the cart and proceed to checkout.

Technologies Used

  • React
  • Firebase (Authentication, Cloud Functions)
  • Axios
  • Stripe
  • Material-UI

Contributing

Feel free to contribute to this project. Fork the repository and submit a pull request.

react-amazon-clone's People

Contributors

shaban-eissa avatar

Stargazers

Mahamad El Tanahy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.