{"repo":"pourya-azad/SnappAPI","free":true,"listed":false,"github":"https://github.com/pourya-azad/SnappAPI","clone":"git clone https://github.com/pourya-azad/SnappAPI.git","description":"The SnappAPI project is an online taxi request system developed using Laravel 12.","language":"PHP","stars":54,"topics":["laravel","snapp-clone","api","taxi-app"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"SnappAPI – Online Ride Request System 🚖 Overall System Diagram: Project EER Diagram: Project SQL Tables: SnappAPI is an online taxi request system developed using Laravel 12. This project enables users to request rides, manage trip statuses, and facilitates interaction between passengers and drivers. --- 📌 Project Workflow 1. Request a Ride : Each user can submit a ride request using the store method. 2. Request Processing : The ride request is processed by a Listener , which calculates the distance between the origin and destination. Based on this distance, the trip cost is calculated. 3. Broadcast to Drivers : Ride details (origin, destination, distance, and price) are broadcasted via the driver channel to the nearest available drivers. 4. Driver Accepts Request : If a driver accepts the request using the accept method, the driver's and request information is broadcasted on the users channel . 5. Track Ride Status : Users can check their current trip status with the status method (e.g., whether the driver has arrived). Drivers can also monitor their current status using the status method. 6. Complete Ride : Once the ride finishes, the driver signals completion with the complete method, and their status changes back to \"available.\" --- 🔥 Technologies Used - Laravel 12 🚀 (Primary backend framework) - Laravel Sanctum 🔐 (User and driver authentication) - Redis ⚡ (Caching and performance optimization) - Laravel Reverb 📡 (Event broadcasting and real-time communication) - SQ","default_branch":null,"files":null,"tree":[],"storefront":"/r/pourya-azad","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pourya-azad/SnappAPI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}