Case Study
Project Case Study
Challenges, solutions, outcomes, technical highlights, architecture, and project scale.
⚡
Challenges
Managing simultaneous orders from different cities, implementing shipping cost calculation based on province and city, SMS authentication, managing prices with three-digit formatting, and designing a shopping cart system with editing and tracking capabilities.
💡
Solutions
Using Django MVT architecture, dynamic transport table implementation, integration with Ghasedak SMS service, using django-jalali for Persian dates, and query optimization with select_related and prefetch_related.
📚
Outcomes
Reduced order registration time to under 3 minutes, increased shipping cost calculation accuracy to 100%, support for 500+ simultaneous products, and 50% reduction in phone calls for order tracking.
🔧
Technical Highlights
AJAX for refresh-free loading, three-tier shipping system (Vanet, Nasan, Khavar), responsive design with Bootstrap 4, and shopping cart system with automatic total calculation.
🏗️
Architecture
Django MVT architecture with two main apps: store_account (user management) and store_profile (product and order management). Layers include: model layer (SQLite/MySQL), view layer (business logic), template layer (UI). Mobile and SMS-based authentication.
📐
Project Scale
Medium project with 25+ template files, 6 database models, 20+ views, and support for 3 user access levels (admin, user, guest).