Lightweight car-rental platform. This repository contains a React + Vite frontend and an Express + MongoDB backend that together provide a peer-to-peer car listing and booking experience.
- User registration & login (JWT)
- Owners can list cars with images and manage availability
- Search available cars by location and dates
- Create bookings, owners can accept or reject
- Simple owner dashboard with stats
- Frontend: React, Vite
- Backend: Node.js, Express
- Database: MongoDB Atlas (mongoose)
- Auth: JSON Web Tokens (JWT)
- Image uploads: ImageKit (used in controllers)
Requirements: Node.js, npm, MongoDB (or connection string)
- Backend
cd BackEnd
npm install
# create a .env file with MONGODB_URI and JWT_SECRET
node server.js- Frontend
cd FrontEnd
npm install
npm run dev- Backend API documentation:
BackEnd/README.md - Frontend documentation and usage:
FrontEnd/README.md
Any contributions are welcome. Open a PR and include a short description and quick test steps.
- LinkedIn: https://www.linkedin.com/in/devadi
- GitHub: https://github.com/ADI-2707
