StyleOdds is a modern Django-based web application for fashion e-commerce, featuring user authentication, product browsing, shopping cart, checkout, and profile management. The project is designed to be easily extensible and a great starting point for learning or building your own online store.
- User registration, login, and profile management
- Product catalog and detailed product views
- Shopping cart and checkout flow
- Stripe integration for payments
- Admin dashboard
- Responsive design with Tailwind CSS
- Clean, modular Django app structure
styleodds/
│
├── accounts/ # User authentication, profiles, and related templates
│ ├── templates/
│ │ └── accounts/ # login, signup, profile views, etc.
│ │ └── admin/ # admin dashboard template
│ ├── migrations/
│ ├── models.py
│ ├── views.py
│ └── ...
│
├── styleodds/ # Main Django project settings and URLs
│ ├── settings.py
│ ├── urls.py
│ └── ...
│
├── theme/ # Tailwind CSS integration and theme templates
│ ├── static/
│ ├── static_src/
│ ├── templates/
│ └── ...
│
├── static/ # Static assets (CSS, images, product images)
│ ├── images/
│ ├── vintage_collection/
│ └── style.css
│
├── media/ # Uploaded media (profile pictures, etc.)
│
├── templates/ # Global templates (home, shop, cart, etc.)
│
├── manage.py
├── requirements.txt
└── README.md
Let me know if you want to customize any section or add more details!
- Backend: Django, Django REST Framework
- Frontend: Django Templates, Tailwind CSS
- Database: SQLite (default, can be swapped for MySQL/PostgreSQL)
- Authentication: Django built-in auth
- Payments: Stripe
- Other: Pillow, python-dotenv, WhiteNoise, django-tailwind, django-crispy-forms, django-browser-reload
-
Clone the repo:
git clone https://github.com/yourusername/styleodds.git cd styleodds -
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables (see
.env.examplefor reference). -
Run migrations and start the server:
python manage.py migrate python manage.py runserver
-
For Tailwind CSS, see the
theme/app for setup instructions.
Feel free to fork this repository and enhance your skills!
Pull requests are welcome. If you have ideas for new features or improvements, open an issue or submit a PR.
Happy coding and stay stylish!