Skip to content

A full-featured Car Rental platform built using the MERN stack. This project includes an interactive dashboard for owners to manage cars, bookings, revenue, and customer activity. Designed to help users easily browse and book cars, and for admins to track performance efficiently.

License

Notifications You must be signed in to change notification settings

Jay-me07/CarRental

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš— Car Rental – Full Stack MERN Web App

A modern Car Rental platform built with the MERN stack, offering users a seamless car booking experience and owners an interactive dashboard to manage cars, bookings, and revenue.

🟒 Live Demo: https://car-rental-client-nu.vercel.app


✨ Features

  • πŸ” Authentication & Authorization for users and car owners
  • πŸ“… Car Booking System with status tracking
  • πŸ“Š Owner Dashboard: Total cars, bookings, revenue, and recent activity
  • πŸ“· Optimized Image Uploads via ImageKit.io
  • 🎞️ Smooth Animations using Motion/React
  • πŸ“± Responsive Design (mobile & desktop friendly)
  • πŸ’¬ Real-time Notifications via React Hot Toast

πŸ› οΈ Tech Stack

Technology Role
MongoDB Database
Express.js Backend API
React.js Frontend UI
Node.js Runtime Environment
ImageKit.io Image Optimization/CDN
TailwindCSS Styling
Framer Motion Animations
React Hot Toast User feedback
JWT Auth Token Management

πŸ“‚ Project Structure

car-rental/ β”œβ”€β”€ client/ # React frontend β”‚ └── src/ β”‚ β”œβ”€β”€ components/ β”‚ β”œβ”€β”€ pages/ β”‚ β”œβ”€β”€ context/ β”‚ └── App.js β”œβ”€β”€ server/ # Node.js backend β”‚ β”œβ”€β”€ models/ β”‚ β”œβ”€β”€ routes/ β”‚ β”œβ”€β”€ controllers/ β”‚ └── index.js β”œβ”€β”€ .env └── README.md


πŸš€ Getting Started Locally

Prerequisites:

  • Node.js
  • MongoDB (local or Atlas)
  • ImageKit.io account

Steps:

  1. Clone Repository:
    git clone https://github.com/Jay-me07/CarRental.git
    cd car-rental
    

2.cd server npm install

3.cd ../client npm install

  1. Create .env file in server/: MONGO_URL=your_mongodb_url JWT_SECRET=your_jwt_secret IMAGEKIT_PUBLIC_KEY=your_imagekit_public_key IMAGEKIT_PRIVATE_KEY=your_imagekit_private_key IMAGEKIT_URL_ENDPOINT=your_imagekit_url

  2. Run the App:

    In root directory

cd server && npm run server cd client && npm run dev


About

A full-featured Car Rental platform built using the MERN stack. This project includes an interactive dashboard for owners to manage cars, bookings, revenue, and customer activity. Designed to help users easily browse and book cars, and for admins to track performance efficiently.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages