A professional, production-ready e-commerce website built with Django, featuring a modern UI/UX, customer accounts, order management, and administrative dashboard.
- Storefront: Browse products by category, search functionality, and detailed product views.
- Cart & Wishlist: Seamless shopping experience with AJAX-ready cart updates.
- Checkout: Secure checkout process with account creation options.
- Customer Dashboard: Track orders, manage profile, and change passwords.
- Admin Dashboard: Comprehensive analytics, product/category management, and order tracking.
- Production Ready: Configured with Whitenoise, environment variables, and security best practices.
- Theming inspired by premium fashion stores.
- Modern typography using Outfit and Playfair Display.
- Fully responsive design for all devices.
- Smooth transitions and interactive elements.
- Python 3.x
- MySQL (optional, defaults to SQLite if not configured)
- Clone the repository.
- Create a virtual environment:
python -m venv .venv. - Activate the virtual environment.
- Install dependencies:
pip install -r requirements.txt. - Create a
.envfile based on.env.exampleand fill in your details. - Run migrations:
python manage.py migrate. - Create a superuser:
python manage.py createsuperuser. - Start the development server:
python manage.py runcommand.
The project is configured for deployment on platforms like Render, Heroku, or DigitalOcean.
- Set the following environment variables on your hosting platform:
SECRET_KEY: A long, random unique string.DEBUG: Set toFalse.ALLOWED_HOSTS: Your domain name (e.g.,yourproject.onrender.com).DB_NAME,DB_USER,DB_PASSWORD,DB_HOST,DB_PORT: Your production database credentials.
- The project uses Whitenoise to serve static files automatically.
- Ensure you collect static files during the build process:
python manage.py collectstatic --no-input.
MIT License.