The Vehicle Booking Service is a web-based application that allows users to book rides with drivers.
- User Authentication: Passengers and drivers can create accounts and log in.
- Ride Booking: Passengers can select pickup and drop-off locations, choose vehicle types, and confirm bookings.
- Real-time Tracking: Live GPS tracking of drivers and estimated time of arrival (ETA) display.
- Secure Payments: Integration with Razorpay for online transactions.
- Driver Dashboard: Allows drivers to accept or decline ride requests and view earnings.
- Admin Panel: Monitoring of user accounts and ride history.
- User Ratings & Reviews: Passengers and drivers can rate each other after trips.
| Component | Technology |
|---|---|
| Frontend | Next.js (React.js) |
| Backend | Node.js with Express.js |
| Database | MySQL |
| Deployment | Vercel |
| Payment Integration | Razorpay |
| Mapping API | Open Street Map API |
Ensure that these are installed:
- Node.js (v18+)
- NPM (or Yarn)
- MySQL
git clone https://github.com/R2D2-08/bookvehicles.git
cd bookvehiclesnpm installCreate a .env file in the root directory and configure the following:
DATABASE_URL="database-url"
RAZORPAY_KEY_ID="razorpay-key"
JWT_SECRET="secret-key"npm run devnpm run build
npm start