Skip to content

tirth26patel/Django-Ecommerce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django E-Commerce

This project provides a basic e-commerce site built with the Django web framework. It includes modules for managing products, a shopping cart, and a minimal payment flow. The default database is SQLite and media files are stored locally.

Getting started

  1. Clone the repository
    git clone <repo-url>
    cd Django-Ecommerce
  2. Create a virtual environment (recommended)
    python -m venv venv
    source venv/bin/activate
  3. Install dependencies
    pip install Django==4.2.7 Pillow
  4. Apply database migrations
    python manage.py migrate
  5. Create an admin user
    python manage.py createsuperuser
  6. Start the development server
    python manage.py runserver
  7. Open http://127.0.0.1:8000/ in your browser to view the site.

Project layout

  • store/ – product catalog and user profile logic
  • cart/ – shopping cart functionality
  • payment/ – simple checkout and order processing
  • ecom/ – project configuration and URLs

The templates for each app live under their respective templates/ directories.

Running tests

The repository includes placeholder test files. Run them with:

python manage.py test

Notes

This project is intended as a learning example. You can customize the models and templates to fit your own requirements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 72.9%
  • Python 14.5%
  • HTML 12.5%
  • JavaScript 0.1%