HIM is a Django-based ecommerce application for a men’s clothing brand. This project focuses exclusively on backend development, covering cart management, user authentication, and payment processing using Stripe. Please note that the frontend interface is not part of this project and is maintained separately.
- Python
- Django
- Built-in Django admin panel
- Database (default: SQLite, configurable)
- Stripe API for payment processing
-
Clone the repository:
git clone https://github.com/ilyesHamdiii/HIM---Men-s-Clothing-Ecommerce-Application.git cd ecommerce-app -
Install dependencies:
pip install -r requirements.txt
-
Configure environment variables:
Create a
.envfile (or set environment variables) with these keys:STRIPE_SECRET_KEY=your_stripe_secret_key STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key DJANGO_SECRET_KEY=your_django_secret_keyNote: Missing these, especially Stripe keys, may cause payment features to fail.
-
Run the development server:
python manage.py runserver
-
Open your browser at:
http://127.0.0.1:8000
Try the deployed app here:
https://django-ecommerce-axnp.onrender.com/