Skip to content

THEPEACEMAKER/-Ecommerce-frontend---React

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React_Django_E-commerce

This project is an e-commerce application built as a practice during the React and Django courses at ITI. It is a team project focused on creating a fully functional e-commerce website.

Demo

Check out the demo video to see the project in action.

Prerequisites

Before running the project, make sure you have the following installed:

  • Node.js
  • Python
  • Django

Backend Repository

For instructions on running the Django server and setting up the required webhook for payment, please refer to the backend repository.

Installation

  1. Clone the repository:

    git clone https://github.com/alielzoghby/React---Project
  2. Install the required dependencies:

    npm install
  3. Start the Django server for the backend (make sure you have the Django repository cloned and set up separately):

    python manage.py runserver

    Note: To run the backend server and set up the required webhook for payment, please refer to the instructions in the backend repository.

  4. Start the React development server:

    npm start

Features

  • Authentication and handling of refresh tokens for secure user access.
  • Wishlist functionality to save desired products.
  • Cart functionality for managing selected items.
  • Order tracking to monitor the status of placed orders.
  • Payment integration using the Stripe API.

Tools

  • Redux Toolkit: Efficiently manage state using Redux Toolkit.
  • Protected Routes: Implement protected routes to ensure secure access to specific parts of the application.
  • Redux Async Thunk: Handle asynchronous actions with Redux Async Thunk middleware.
  • Formik: Simplify form handling and validation using Formik.
  • Yup: Utilize Yup for form validation.

Usage

Once the project is set up and running, you can access it by opening your browser and navigating to http://localhost:3000/. It is important to note that the backend functionality relies on the Django server, so ensure that it is running as well. Additionally, for seamless payment processing, make sure to have the webhook mentioned in the backend repository up and running.

Team Members

Languages

  • JavaScript 86.2%
  • CSS 12.8%
  • HTML 1.0%