A Django-powered platform for selling and managing digital products (e-books, courses, software licenses, etc.).
🛒 Product Management
- Upload/edit/delete digital products (PDFs, videos, ZIPs)
- Categorize with tags and collections
👤 User System
- Secure authentication (signup/login/password reset)
- User profiles with purchase history
🔍 Discovery
- Search and filter products by name/category/price
- Featured products section
- Python 3.8+
- Django 4.0+
- PostgreSQL (recommended) / SQLite (dev)
-
Clone repo:
git clone https://github.com/yourusername/django-digital-products.git cd django-digital-products
-
Create virtual env:
python -m venv venv source venv/bin/activate # Linux/Mac venv\Scripts\activate # Windows
-
Install requirements:
pip install -r requirements.txt
-
Configure
.env
file:SECRET_KEY=your_secret_key_here DEBUG=True ALLOWED_HOSTS=localhost,127.0.0.1
-
Run migrations:
python manage.py migrate
-
Create admin:
python manage.py createsuperuser
-
Run server:
python manage.py runserver
Access: http://localhost:8000
django-digital-products/
├── products/ # Main products app
├── accounts/ # User accounts
├── payments/ # Payment processing
├── static/ # CSS/JS/images
├── media/ # Uploaded files
├── templates/ # HTML templates
└── requirements.txt # Dependencies
- Backend: Django 4.x
- Database: PostgreSQL
- Frontend: Bootstrap 5
- Deployment: Docker (ready for Heroku/AWS)
MIT License
Feel free to contribute by opening an issue or submitting a pull request.