Skip to content

Django-Shoping is a basic E-commerce site using Django. Users can browse, buy products, and manage accounts (sign-up, login, logout). It uses a RESTful API and JWT for security. A great beginner project for learning Django and React full-stack development.

License

Notifications You must be signed in to change notification settings

romanyn36/Django-react-e-commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-Shoping

 

Django-Shoping

GitHub top language GitHub language count Repository size License GitHub forks GitHub stars

product order orderlist payment

About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Contact


🎯 About

Django-Shoping is a simple E-commerce website built using Django. This project allows users to browse and purchase products. It includes a robust authentication system that enables users to sign up, log in, and log out. The project utilizes a RESTful API for product browsing and purchasing, with JWT (JSON Web Tokens) for secure user authentication and authorization.

This project is designed as a Full-Stack Training Project, making it an excellent resource for beginners to learn how to build a full-stack application using Django and React.

you can see the live demo here

✨ Features

Users Can:

  • Register and log in securely.
  • Browse and purchase products using PayPal PayPal.
  • View and update their profile information.
  • Access their order history.

Admin Can:

  • Add, update, and delete products.
  • Manage orders and user accounts.

General:

  • RESTful API: The project uses a RESTful API to handle product browsing and purchasing.
  • JWT Authentication: The project uses JWT (JSON Web Tokens) for secure user authentication and authorization.
  • PayPal Integration: The project integrates PayPal for payment processing.
  • Responsive Design: The project is designed to be responsive and mobile-friendly.

🚀 Technologies

The following tools and frameworks were used in this project:


⚠️ API Documentation will be added soon

✅ Requirements

Before starting, ensure you have the following installed:

  • Python 3.x
  • Node.js
  • npm (Node Package Manager)
  • PostgreSQL (or any other database supported by Django)

🏁 Starting

# Clone this project
$ git clone https://github.com/romanyn36/Django-react-e-commerce.git

# Navigate to the project directory
$ cd Django-react-e-commerce

# Create a virtual environment
$ python -m venv venv

# Activate the virtual environment
$ source venv/bin/activate  # For Linux/Mac
$ venv\Scripts\activate     # For Windows

# Install backend dependencies
$ pip install -r requirements.txt

# Set up environment variables in a .env file
# Example: SECRET_KEY, DATABASE_URL, etc.

# Migrate the database
$ python manage.py migrate

# Run the Django server
$ python manage.py runserver

# please create a superuser to access the admin panel and update email field in the user model http://127.0.0.1:8000/admin
# then login to http://localhost:3000/ you can see the admin panel in the top right corner 
# this won't be visible to the normal users

# Navigate to the frontend directory
$ cd frontend

# Install frontend dependencies
$ npm install

# Start the React development server
$ npm start

# The frontend will be available at http://localhost:3000/

📝 License This project is licensed under the MIT License. For more details, see the LICENSE file.

  • Made by Romani – an AI Engineer and Django Developer. Feel free to reach out for collaborations, questions, or new projects!

GitHub LinkedIn Twitter

Back to top

About

Django-Shoping is a basic E-commerce site using Django. Users can browse, buy products, and manage accounts (sign-up, login, logout). It uses a RESTful API and JWT for security. A great beginner project for learning Django and React full-stack development.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published