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.
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.
- User authentication with JWT tokens
- Product listings and details
- Shopping cart functionality
- ...
Before you begin, ensure you have met the following requirements:
- Python 3.x installed
- Node.js and npm installed
- ...
-
Clone the repository:
git clone https://github.com/your-username/ProShopCourse.git cd ProShopCourse -
Create and activate a virtual environment:
python -m venv venv
venv\Scripts\activate
source venv/bin/activate
-
Install backend dependencies:
pip install -r backend/requirements.txt
-
Install frontend dependencies:
cd frontend npm install -
Set up the Django database:
cd backend python manage.py migrate ... -
Start the Django development server:
cd backend python manage.py runserver
The backend server will be running at http://127.0.0.1:8000/.
-
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.
Contributions are welcome! Please follow the CONTRIBUTING.md guidelines.
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.