A robust multi-vendor e-commerce platform supporting physical/digital products, blog management, and secure transactions.
- Features
- Technologies
- Installation
- Configuration
- API Documentation
- Database Schema
- Running the Project
- Testing
- Deployment
- Contributing
- License
- Acknowledgments
- 🔑 JWT-based authentication with refresh tokens
- 👥 Three user roles: Customer, Store Owner, Admin
- 📱 SMS verification for admin accounts
- 📝 Iranian phone number & national code validation
- ✍️ Blog management with HTML sanitization
- 💬 Role-based comment system
- 🛒 Smart shopping cart with quantity control
- 🔐 Content moderation tools
- 📦 Dual product types: Physical/Digital
- 🖼️ Multi-image support with main image selection
- 🏷️ Industry categorization system
- 📁 File type management for digital products
Core Stack
- Django 4.0 & Django REST Framework
- PostgreSQL with Psycopg2
- Redis for caching
- JWT Authentication
- Celery for async tasks
Validation & Security
- Beautiful Soup for HTML sanitization
- python-magic for file validation
- bleach for content cleaning
APIs
- Swagger/OpenAPI documentation
- RESTful endpoints
- Rate limiting
# Clone repository
git clone https://github.com/your-repo/ecommerce-platform.git
cd ecommerce-platform
# Create virtual environment
python -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Database setup
python manage.py migrate