"Performance, comfort, and style—ready for your command."
Rent Wheels is a state-of-the-art vehicle reservation platform designed for the discerning traveler. Built with a "luxury-first" philosophy, it combines immersive glassmorphism aesthetics with robust functionality to deliver a premium user experience.
- Secure Entry: Powered by Firebase Auth, supporting both email credentials and Google Sign-In.
- Session Continuity: Persistent login states ensure smooth re-entry.
- Protected Protocol: Sensitive routes are guarded by a dedicated
PrivateRoutesystem.
- Inventory Control: Add premium vehicles to the listings with high-res imagery and detailed specs.
- My Listing Dashboard: Manage your personal fleet; update availability or decommission vehicles (delete) with a single click.
- Status Indicators: Real-time visual cues for "Available" vs "Unavailable" assets.
- Concierge Booking: detailed "Book Now" flow with instant confirmation modals.
- My Bookings Ledger: A dedicated history of all your active and past reservations.
- Calendar & Pricing: Transparent daily rates with zero hidden fees.
- Smart Pagination: Browse the extensive fleet with our custom-built pagination engine (8 vehicles per view).
- Intelligent Recommendations: The Car Details interface suggests 3 similar vehicles from the same category (e.g., "SUV" or "Luxury"), ensuring you always find the perfect match.
- Advanced Filtering: Sort by Price (Low/High), Date Added, or Rating. Search instantly by Model, Brand, or Keywords.
- Identity Management: A dedicated Profile Page to manage your digital persona.
- Live Updates: Update your Display Name and Profile Photo URL with immediate reflection across the UI.
- Visual Analytics: Quick-glance stats for your total Bookings and Listings.
The interface is crafted using Tailwind CSS and DaisyUI, featuring a "Glassmorphism" design system:
- Immersive Backgrounds: Dynamic, glowing gradients that shift with the theme.
- Frosted Glass Cards: Content floats on semi-transparent, blurred layers (
backdrop-blur-xl). - Micro-Interactions: Smooth hover states, button scaling, and transition effects.
- Responsive Geometry: Layouts that adapt fluidly from desktop command centers to mobile devices.
- React 19 & Vite: Ultra-fast rendering and build tooling.
- React Router 7: Client-side routing with optimized data loaders.
- Tailwind CSS 4: The latest engine for utility-first styling.
- DaisyUI 5: Premium component primitives.
- Framer Motion / Animations: CSS-based glow effects and transitions.
- React Icons: Iconography for a polished look.
- SweetAlert2: Beautiful, animated alert modals for user feedback.
- Firebase: Authentication, Identity, and Hosting.
- Node.js / Express: (Backend API context) RESTful services for car data and booking logic.
- MongoDB: (Database context) Validated schema and persistent storage.
Follow these steps to initialize the Rent Wheels client on your local machine.
- Node.js (v18+)
- npm or yarn
- A Firebase Project (for Auth config)
-
Clone the Repository
git clone https://github.com/jihanurrahman33/rent_wheels-client.git cd rent_wheels-client -
Install Dependencies
npm install
-
Environment Configuration Create a
.envfile in the root directory and inject your Firebase credentials:VITE_API_KEY=your_api_key VITE_AUTH_DOMAIN=your_auth_domain VITE_PROJECT_ID=your_project_id VITE_STORAGE_BUCKET=your_storage_bucket VITE_MESSAGING_SENDER_ID=your_messaging_sender_id VITE_APP_ID=your_app_id
-
Launch Development Server
npm run dev
Access the terminal at
http://localhost:5173
src/
├── components/
│ ├── BrowseCars/ # Pagination & Filter Logic
│ ├── CarDetails/ # Booking & Recommendations Logic
│ ├── NavBar/ # Responsive Navigation
│ └── ...
├── pages/
│ ├── ProfilePage.jsx # User Profile Management
│ ├── HomePage.jsx # Landing Experience
│ └── ...
├── contexts/
│ └── AuthContext.jsx # Authentication State
├── router/
│ └── router.jsx # Application Routes
└── main.jsx # Entry Point
Clearance granted for contributions. Fork the repository, engineer your feature branch, and submit a Pull Request for review.
Rent Wheels — Elevating the Standard of Travel.