This project is a web application developed using JavaScript, React, Node.js, NodeMailer, and Tailwind CSS. It serves as a platform for managing cab bookings, calculating optimal routes, and estimating costs for users' trips. The system ensures efficient cab allocation, scheduling, and tracking, enhancing the overall user experience.
• Users can book cabs by specifying their email, source, and destination.
• The system calculates the shortest possible time from the source to the destination, ensuring efficient routing.
• Cab bookings are managed to prevent overlapping start and end times, eliminating scheduling conflicts.
• The system features 5 cabs with distinct pricing structures, defined as price per minute.
• Estimated costs are calculated based on the selected cab and the duration of the trip.
• Administrators have access to cab booking details, facilitating visibility into current and upcoming trips.
• Cab details, including pricing and availability, can be viewed and edited as needed.
• Frontend: The frontend of this application is deployed on Vercel. You can access the web application here.
• Backend: The backend is deployed on Render(it may take 1-2 minutes to boot the server).
Frontend/
├── React
├── Tailwind CSS
Backend/
├── Nodejs
├── NodeMailer
├── Express
├── Dijkstra Algorithm (used to calculate the shortest time between source and destination)
├── PostgreSQL
• .env: Configuration file for environment variables.
VITE_APP_BASE_URL="https://scaler-dispatch-system-1.onrender.com"
# VITE_APP_BASE_URL="http://localhost:3000"
git clone https://github.com/babbarparth/scaler-dispatch-system
cd backend
npm install
npm start
cd ..
cd scaler-dispatch-frontend
npm install
npm run dev
https://docs.google.com/document/d/1e6riWL2gKXFqv6lhRoKIHr3vtThfdW4rhsPmr5SWmu4/edit
https://alluring-cross-45f.notion.site/Scaler-SDE-Intern-FullStack-Assignment-Cab-System-f8a00680c6b042d780282bf859ec2028