Case study — 17 / 27
Car Rental Platform
End-to-end car rental web app covering fleet browsing, checkout, and a full admin suite for vehicles, bookings, pricing, and reporting.
- Category
- Web App
- Engagement
- Client Work
- Year
- 2026
- Core stack
- React, Tailwind CSS, Protected Routes
Overview
A complete car rental web application covering the full customer journey from browsing the fleet to checkout and booking confirmation, with a protected account area and a comprehensive admin suite.
Rental businesses needed a platform that handled online reservations end-to-end without phone calls — including add-on selection, price breakdowns, and booking management for returning customers.
The public side covers fleet browsing, vehicle comparison, detail pages, a booking widget with add-ons and price breakdown, checkout, confirmation, and an account portal. The admin side delivers a full operator suite: vehicle management, booking calendar, customer records, maintenance tracking, pricing controls, and reports.
Role & contribution
Delivered a production-ready rental platform that handles the full booking lifecycle from fleet browse to confirmation and admin follow-up.
- 01Built the full car rental platform as a client project.
- 02Developed public pages: Home, Fleet, VehicleDetail, Bookings, Checkout, Confirmation, Account, Policies, and Support.
- 03Built the booking flow with BookingWidget, AddOnsPicker, and PriceBreakdown components.
- 04Developed vehicle comparison with CompareDrawer and specs display with SpecsGrid.
- 05Built admin pages: Dashboard, AdminVehicles, AdminBookings, AdminCalendar, AdminCustomers, AdminMaintenance, AdminPricing, and AdminReports.
- 06Implemented protected routing with ProtectedRoute for the account and admin sections.
Key features
- 01
Vehicle Comparison
Side-by-side CompareDrawer lets customers compare up to two vehicles on specs, pricing, and features before committing to a rental.
- 02
Booking Widget
Self-contained widget handles date selection, add-on picking, and live price breakdown in a single reusable component.
- 03
Full Admin Suite
Eight admin pages cover every operator need: vehicles, bookings, calendar, customers, maintenance, pricing, and reports.
- 04
Protected Routes
Account and admin sections are guarded by ProtectedRoute — unauthenticated users are redirected to login.
Core modules
- Fleet & Comparison
- Vehicle listing, detail pages with SpecsGrid and CarGallery, and CompareDrawer for side-by-side comparison.
- Booking Flow
- BookingWidget with date/time, AddOnsPicker, PriceBreakdown, Checkout, and Confirmation pages.
- Customer Account
- Protected account portal with booking history and profile management.
- Admin Operations
- Dashboard, AdminVehicles, AdminBookings, AdminCalendar, AdminCustomers, AdminMaintenance, AdminPricing, AdminReports.
Architecture
- Architecture Type
- React SPA with file-based domain component organization (domain/admin, domain/booking, domain/cars) and protected route pattern.
- Database Design
- TypeScript-typed mock data for vehicles, bookings, customers, and pricing.
- Security Features
- ProtectedRoute component guards account and admin sections; React Hook Form validation on all inputs.
- Deployment
- Vite build for static hosting.
- State Management
- Component state with domain-specific hooks and React Router state for booking flow handoff.
Challenges & solutions
- 01
Multi-step Booking Handoff
Passed booking state (dates, vehicle, add-ons) cleanly across the widget → checkout → confirmation flow without prop drilling.
- 02
Admin Suite Scope
Maintained consistent layout and navigation across eight distinct admin pages while keeping each module independently navigable.
Outcomes & impact
Complete Rental Workflow
Covers the full customer and operator lifecycle — browse, book, manage, and report — in one platform.
Reusable Template
Domain-organized component structure makes the platform adaptable to other rental verticals.
Roadmap
Phase 1 - Fleet & BookingShipped
- Fleet browsing and vehicle detail
- Booking widget with add-ons and price breakdown
- Checkout and confirmation pages
- Customer account portal
Phase 2 - Admin SuiteShipped
- AdminVehicles, AdminBookings, AdminCalendar
- AdminCustomers, AdminMaintenance, AdminPricing, AdminReports
- Protected routing
Phase 3 - Future (Planned)Planned
- Backend + database
- Payment integration
- Email booking confirmations
- Real-time availability
Tech stack
- React 18
- Vite
- TypeScript
- Tailwind CSS
- shadcn/ui
- Radix UI
- Material UI (MUI)
- React Router
- Lucide React
- Recharts
- Embla Carousel
- React Hook Form
- Framer Motion
- Sonner
- date-fns