Case Study
Project Case Study
Challenges, solutions, outcomes, technical highlights, architecture, and project scale.
⚡
Challenges
Managing simultaneous consultation requests from three different channels (online, phone, in-person), implementing ticketing Q&A system with file upload capability, two-factor SMS authentication, managing complex access levels (admin, lawyer, responder, marketer, user), and implementing smart multi-search across articles, questions, experiences, and videos.
💡
Solutions
Using Django MVT architecture, role-based system with Boolean fields for access levels, integration with Ghasedak SMS service, using django-jalali for Persian dates, weighted search system with Q objects, and query optimization with select_related and prefetch_related.
📚
Outcomes
Reduced response time to legal questions to under 24 hours, increased visitor-to-customer conversion rate to 35%, support for 1000+ simultaneous cases, and 60% reduction in repetitive phone calls with the online Q&A system.
🔧
Technical Highlights
AJAX for refresh-free loading, multi-level access system (admin_access, Lawyer_access, response_access), responsive design with Bootstrap 4, comment system with admin approval, and weighted multi-search with ranking algorithm.
🏗️
Architecture
Django MVT architecture with three main apps: account (user management and authentication), site_profile (consultation and case management), and seo (content and search management). Layers include: model layer (SQLite/MySQL), view layer (business logic), template layer (UI). Mobile and SMS-based authentication.
📐
Project Scale
Large project with 50+ template files, 15 database models, 40+ views, and support for 5 user access levels (super admin, admin, lawyer, responder, regular user).