Skip to content

cisco336/ProShopCourse

Repository files navigation

ProShopCourse - Django with React E-Commerce Website

This project is an e-commerce website built with Django and React. It is based on the Udemy course Django with React - An E-Commerce Website.

Table of Contents

Description

ProShopCourse implements a full-stack e-commerce website using Django as the backend framework and React for the frontend. It includes user authentication, product listings, shopping cart functionality, and more.

Features

  • User authentication with JWT tokens
  • Product listings and details
  • Shopping cart functionality
  • ...

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python 3.x installed
  • Node.js and npm installed
  • ...

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/ProShopCourse.git
    cd ProShopCourse
    
  2. Create and activate a virtual environment:

    Create a virtual environment

    python -m venv venv

    Activate the virtual environment (on Windows)

    venv\Scripts\activate

    Activate the virtual environment (on macOS/Linux)

    source venv/bin/activate

  3. Install backend dependencies:

    pip install -r backend/requirements.txt
    
  4. Install frontend dependencies:

    cd frontend
    npm install
  5. Set up the Django database:

    cd backend
    python manage.py migrate
    ...
    
  6. Start the Django development server:

    cd backend
    python manage.py runserver
    

The backend server will be running at http://127.0.0.1:8000/.

  1. Start the React development server:

    cd frontend
    npm start
    

The frontend server will be running at http://localhost:3000/.

Open your web browser and navigate to http://localhost:3000/ to view the application.

Contributing

Contributions are welcome! Please follow the CONTRIBUTING.md guidelines.

License

This project is licensed under the MIT License.

Replace "your-username" with your actual GitHub username when you use this template. Feel free to customize other sections as needed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors