The Challenge
The primary challenge was engineering a highly responsive, mobile-first interface that could handle complex real-time states. Since users are often stranded on the road when using this service, the UI needed to be extremely intuitive and performant under low-bandwidth conditions. Synchronizing the frontend state with the backend during the multi-step booking flow—transitioning from mechanic discovery to live request status—while ensuring a lag-free experience across different devices, required a deep understanding of asynchronous UI logic.
My Solution
To ensure a premium user experience, I architected the frontend using Next.js and Tailwind CSS, implementing a clean, accessible UI with smooth micro-animations for better engagement. I leveraged TanStack Query for robust API data fetching and synchronization, ensuring the user always sees the most up-to-date mechanic availability without manual refreshes. To manage the intricate booking lifecycle (search, accept, progress), I utilized Redux Toolkit for centralized state management. Additionally, I integrated React Hook Form with Zod for bulletproof client-side validation, ensuring that all emergency requests are accurate and error-free before they reach the server