/E-commerce

Creating a web store project with Django

Primary LanguagePythonMIT LicenseMIT

E-commerce Django Project (CBV)

A simple e-commerce web application built using Django.

python django bootstrap html5 sqlite sqlite sqlite

Features

  • User authentication (Sign up, login, logout)
  • Product listing with categories
  • Shopping cart functionality
  • Order management
  • Payment integration
  • Admin dashboard for product management

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/MaryaRezvani/E-commerce.git
    cd E-commerce
  2. Create a virtual environment:

    python -m venv env
    source env/bin/activate
  3. Install the required packages:

    pip install -r requirements.txt
  4. Apply migrations:

    python manage.py migrate
  5. Create a superuser for the admin dashboard:

    python manage.py createsuperuser
  6. Run the development server:

    python manage.py runserver
  7. Access the application at http://127.0.0.1:8000.

Configuration

To connect to Redis and run commands through the CLI, use the following command:

sudo systemctl enable redis
sudo systemctl start redis
sudo systemctl status redis
redis-cli

Contributing

If you want to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Make your changes and commit them.
  4. Push to your branch.
  5. Create a pull request.