Skip to content

Pinchez25/django_ecommerce

Repository files navigation

A Django e-commerce project

Features

  • user authentication
  • cart session management (no login required)
  • cart functionality
  • add a new project
  • checkout with stripe

Technologies

  • Python 3.11.2
  • Django
  • Stripe
  • Bootstrap
  • HTML
  • CSS

Installation

  • Create stripe account

  • Get the secret and public keys

  • Create a .env file in the root directory

  • Add the keys to the .env file as STRIPE_KEY=your_stripe_public key

  • e.g. STRIPE_KEY=pk_test_51J

  • Clone the repository

  • Create a virtual environment

      python3 -m venv venv
  • Install the requirements

    pip install -r requirements.txt
  • Make migrations

    python manage.py makemigrations
    python manage.py migrate
  • Create a superuser

    python manage.py createsuperuser
  • Run the server

    python manage.py runserver
  • Add a new product

  • Checkout with stripe

  • Done!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors