LocalRide is a web-based taxi booking platform built using Laravel 10, Leaflet.js, and OpenRouteService API. It allows users to seamlessly search for local taxis, view routes, calculate fares dynamically, and confirm bookings—all through an intuitive interface.
- ✅ User Registration & Authentication
- 📍 Search Taxis via Pickup and Drop Locations
- 🗺️ Interactive Route Mapping (Leaflet + OpenStreetMap)
- 📏 Distance & Duration Calculation (OpenRouteService)
- 💰 Dynamic Fare Estimation (Based on Distance & Package)
- 📋 Trip Summary & Booking Confirmation
- 🔐 Secure Form Validation
- Backend: Laravel 10 (PHP)
- Frontend: Bootstrap 5, Blade Templates
- Mapping: Leaflet.js, OpenStreetMap
- Distance & Routing: OpenRouteService API
- Geocoding (Future): Nominatim API
- Database: MySQL
- User enters pickup and drop location.
- Coordinates are fetched using Nominatim or Google Places API.
- OpenRouteService calculates route, distance, and duration.
- Fare is dynamically computed based on selected package.
- Trip route and fare summary displayed on map.
- User confirms the booking; details saved in database.
LocalRide offers a robust starting point for a location-based taxi booking system. It’s scalable and ready for enhancements like real-time driver tracking, payment integration, and mobile responsiveness.
git clone https://github.com/mahi07777/localride.git
cd localride
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan serve



