A production-grade vehicle assistance Progressive Web App (PWA) built using Next.js 14, TypeScript, Tailwind CSS, Firebase, and modern mobile-first architecture.
RideRelief provides emergency mobility assistance including acting drivers, mechanics, rental vehicles, ambulance support, and SOS emergency services โ all through a modern AI-inspired platform.
- ๐ Book Acting Drivers
- ๐ง Find Nearby Mechanics
- ๐ Rental Vehicle Booking
- ๐ Emergency Ambulance Support
- ๐ Real-Time Location Tracking
- ๐ Booking History & Status Tracking
- ๐ณ Payment Gateway Ready
- ๐จ Offline SOS Emergency Button
- ๐ข Online / Offline Availability
- ๐ Accept or Reject Requests
- ๐ Navigation to Customer Location
- ๐ฐ Earnings Dashboard
- ๐ Trip Analytics & History
- ๐ KPI Analytics Dashboard
- ๐ Booking Management
- ๐ฅ User & Driver Management
- ๐ Revenue Analytics
- โ๏ธ Pricing & System Settings
- ๐ Peak Hour Insights
- โญ Ratings & Cancellation Tracking
- ๐ฑ Progressive Web App (PWA)
- ๐ Dark / Light Mode
- ๐ Push Notification Ready
- ๐ Firebase Authentication
- ๐จ Modern Glassmorphism UI
- ๐ฑ Mobile-First Responsive Design
- โก Optimized Performance
- ๐ iPhone Safe Area Support
- Next.js 14
- React
- TypeScript
- Tailwind CSS
- Framer Motion
- Zustand
- Firebase Authentication
- Cloud Firestore
- Firebase Hosting
- Google Maps API
- Service Workers
- Web Manifest
- Offline Support
- Node.js 18+
- npm 9+
- Firebase Project
- Google Maps API Key
git clone https://github.com/your-username/ride-relief.git
cd ride-reliefnpm installCreate a .env.local file:
NEXT_PUBLIC_FIREBASE_API_KEY=your_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_maps_key
NEXT_PUBLIC_SOS_PHONE=+911234567890- Open Firebase Console
- Create New Project
- Enable Authentication โ Email/Password
- Enable Cloud Firestore
- Add Firebase Config to
.env.local - Deploy Firestore Rules
firebase deploy --only firestore:rulesnpm run devOpen:
http://localhost:3000ride-relief/
โโโ src/
โ
โโโ app/
โ โโโ (customer)/
โ โโโ driver/
โ โโโ admin/
โ โโโ login/
โ โโโ register/
โ โโโ forgot-password/
โ
โโโ components/
โ โโโ ui/
โ โโโ layout/
โ โโโ notifications/
โ โโโ providers/
โ
โโโ hooks/
โโโ lib/
โโโ stores/
โ
โโโ public/
โ โโโ manifest.json
โ โโโ icons/
โ
โโโ firestore.rules
โโโ .env.local| Token | Light | Dark |
|---|---|---|
| Primary | #2563eb | #3b82f6 |
| Secondary | #10b981 | #34d399 |
| Accent | #06b6d4 | #22d3ee |
| Background | #f8fafc | #0b1120 |
| Surface | #ffffff | #1e293b |
- Open RideRelief in Safari
- Tap Share
- Select โAdd to Home Screenโ
- Open RideRelief in Chrome
- Tap Menu (โฎ)
- Select โAdd to Home Screenโ
npm i -g vercel
vercelnpm i -g firebase-tools
firebase init hosting
npm run build
firebase deploy- Booking Flow
- Driver Assignment
- Offline SOS
- Role-Based Authentication
- Mobile Responsiveness
- Push Notifications
- Error Handling
- Payment Flow
- Dark / Light Mode
- PWA Installation
- Firebase Authentication
- Protected Routes
- Role-Based Access
- Secure Firestore Rules
- Form Validation
- API Protection
- AI-Based Emergency Prediction
- Real-Time Driver Tracking
- Razorpay Payment Integration
- AI Chat Assistant
- Voice Emergency Support
- Admin AI Analytics
AI Engineer โข Full Stack Developer โข Cybersecurity Enthusiast
MIT License ยฉ 2026 RideRelief