Skip to content

manohar6317/CarRental-fullstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Repository

⚠️ Note:
This repository is for demo purposes only.
No actual commits or code changes are maintained here.

The actual development work (commits, code changes, and history) is maintained in a private repository.

Car Rental Fullstack Application

A fullstack car rental platform where users can browse, book, and manage cars, and owners can list and manage their vehicles.

Click Live to view website Live

Features

  • User authentication (register/login)
  • Browse and search available cars
  • Book cars for specific dates and locations
  • View and manage user bookings
  • Owner dashboard to list, update, and remove cars
  • Owner booking management and revenue tracking
  • Image upload and optimization via ImageKit
  • Responsive React frontend with Tailwind CSS

Tech Stack

  • Frontend: React, Vite, Tailwind CSS
  • Backend: Node.js, Express, MongoDB (Mongoose)
  • Image Hosting: ImageKit
  • Authentication: JWT
  • Deployment: Vercel

Project Structure

client/   # React frontend
server/   # Node.js/Express backend

Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • MongoDB Atlas account (or local MongoDB)
  • ImageKit account

Environment Variables

Server (server/.env)

MONGODB_URI=your_mongodb_connection_string
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_endpoint

Client (client/.env)

VITE_CURRENCY=$
VITE_BASE_URL=http://localhost:3000

Installation

1. Clone the repository

git clone https://github.com/yourusername/car-rental-fullstack.git
cd car-rental-fullstack

2. Install dependencies

cd server
npm install

cd ../client
npm install

3. Start the development servers

  • Backend:

    cd server
    npm run server
  • Frontend:

    cd client
    npm run dev

4. Open in browser

Visit http://localhost:5173 (or the port shown in your terminal).

Deployment

License

MIT


Author: Manohar Daripalli

About

A fullstack car rental platform built with React, Node.js, Express, and MongoDB. Users can browse and book cars, while owners can list and manage their vehicles. Features include authentication, image uploads, and a modern responsive UI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages