Skip to content

Diksha78-bot/RentOrbits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

73 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸš— RentOrbits - Car Rental Website

A Modern, Responsive Car Rental Platform built using React, TypeScript, and Tailwind CSS.

RentOrbits provides a Smooth User Experience for Browsing Cars, learning about the Company, and Sending Rental Inquiries.


πŸ“‘ Table of Contents


πŸ’‘ About RentOrbits

RentOrbits is a modern, open-source car rental platform designed to simplify the way users discover, explore, and inquire about rental cars. Built with React, TypeScript, and Tailwind CSS, RentOrbits focuses on clean design, smooth performance, and a scalable architecture that makes it easy for both users and developers.

Whether you're a customer looking for a hassle-free rental experience or a developer exploring a real-world full-stack project, RentOrbits brings usability, clarity, and modern web practices together in one place.

🎯 Our Mission

  • πŸš— Simplify Car Rentals Make browsing and exploring rental cars intuitive, fast, and user-friendly.
  • πŸ§‘β€πŸ’» Developer-Friendly Codebase Maintain clean, modular, and well-structured code that’s easy to understand and extend.
  • 🌐 Open Source First Encourage collaboration and learning through an accessible open-source project.
  • ⚑ Performance & Responsiveness Deliver a fast, lightweight experience that works seamlessly across all devices.

🌟 Why RentOrbits?

In a space often cluttered with outdated interfaces and complex workflows, RentOrbits proves that a car rental platform can be simple, elegant, and efficient. By leveraging modern frontend tools and a scalable backend architecture, RentOrbits is ideal for:

  • πŸŽ“ Students learning full-stack web development
  • πŸ›  Developers looking to contribute to an open-source project
  • 🚘 Businesses exploring a clean rental platform foundation

πŸš€ Future Vision

  • πŸ“… Online car booking & availability management
  • πŸ’³ Secure payment gateway integration
  • πŸ“Š User dashboards with booking history
  • πŸ§‘β€πŸ’Ό Admin panel for managing cars & bookings
  • ⭐ Ratings, reviews & feedback system

✨ RentOrbits aims to be more than just a project β€” it’s a foundation for learning, collaboration, and real-world application.


✨ Features

  • πŸ“± Fully responsive design for all devices
  • 🚘 Car listings with detailed information
  • πŸ“¬ Contact form for customer inquiries
  • 🏒 About page with company information
  • 🎨 Modern UI built using Tailwind CSS

πŸ› οΈ Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

πŸ“₯ Installation

  1. Clone the repository:
git clone https://github.com/Diksha78-bot/RentOrbits.git
cd RentOrbits
  1. Install dependencies (from root directory):
npm install
  1. Start the development servers:

Both frontend and backend together:

npm start

Or run individually:

Frontend only:

npm run frontend

Backend only:

npm run backend

Frontend will be available at http://localhost:3000 and backend API at configured port (typically http://localhost:5000).

Environment Variables

Create a .env file in the root directory based on .env.example and add your own configuration values.

Note: Do not commit .env files to version control.

Project Structure


πŸ“ Project Structure

RentOrbits/
β”‚
β”œβ”€β”€ .github/ISSUE_TEMPLATE/
β”‚     └── pull_request_template.md
β”‚     └── SECURITY.md
β”‚     └── feature-request.md
β”‚     └── bug-report.md
β”‚     └── documentation-issue.md
β”‚
β”‚
β”œβ”€β”€ frontend/                     # React frontend application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/  # Reusable React components
β”‚   β”‚   β”‚      └── CarCard.tsx
β”‚   β”‚   β”‚      └── CarCard.tsx
β”‚   β”‚   β”‚      └── CarSkeleton.tsx
β”‚   β”‚   β”‚      └── Chatbot.tsx
β”‚   β”‚   β”‚      └── Contact.tsx
β”‚   β”‚   β”‚      └── ErrorState.tsx
β”‚   β”‚   β”‚      └── Footer.tsx
β”‚   β”‚   β”‚      └── Login.tsx
β”‚   β”‚   β”‚      └── LoginModal.tsx
β”‚   β”‚   β”‚      └── Navbar.tsx
β”‚   β”‚   β”‚      └── Notification.tsx
β”‚   β”‚   β”‚      └── ProtectedRoute.tsx
β”‚   β”‚   β”œβ”€β”€ context/              # React Context (Auth context)
β”‚   β”‚   β”‚      └── AuthContext.tsx
β”‚   β”‚   β”‚      └── AuthContext.tsx
β”‚   β”‚   β”œβ”€β”€ pages/                # Page components
β”‚   β”‚   β”‚      └── About.tsx
β”‚   β”‚   β”‚      └── Cars.tsx
β”‚   β”‚   β”‚      └── Contact.tsx
β”‚   β”‚   β”‚      └── Home.tsx
β”‚   β”‚   β”‚      └── Profile.tsx
β”‚   β”‚   β”‚      └── Properties.tsx
β”‚   β”‚   β”œβ”€β”€ services/             # API and Firebase services
β”‚   β”‚   β”‚      └── api.ts
β”‚   β”‚   β”‚      └── firebase.ts
β”‚   β”‚   β”œβ”€β”€ utils/                # Utility functions
β”‚   β”‚   β”‚      └── imageUtils.ts
β”‚   β”‚   β”œβ”€β”€ App.tsx
β”‚   β”‚   β”œβ”€β”€ index.tsx
β”‚   β”‚   β”œβ”€β”€ index.css
β”‚   β”‚   └── theme.ts
β”‚   β”œβ”€β”€ public/                   # Static assets
β”‚   β”‚   β”œβ”€β”€ CarImages/
β”‚   β”‚   β”‚      └── Audi A6.jpg
β”‚   β”‚   β”‚      └── BMW 5 Series.jpg
β”‚   β”‚   β”‚      └── Honda CR-V.jpg
β”‚   β”‚   β”‚      └── Honda Civic.jpg
β”‚   β”‚   β”‚      └── Hyundai Creta.jpg
β”‚   β”‚   β”‚      └── Hyundai Verna.jpg
β”‚   β”‚   β”‚      └── Hyundai i20.jpg
β”‚   β”‚   β”‚      └── Mahindra XUV700.jpg
β”‚   β”‚   β”‚      └── Maruti Swift.jpg
β”‚   β”‚   β”‚      └── Mercedes-Benz-E-Class.jpg
β”‚   β”‚   β”‚      └── Tata Altroz.jpg
β”‚   β”‚   β”‚      └── Toyota Camry.jpg
β”‚   β”‚   β”‚      └── Toyota Fortuner.jpg
β”‚   β”‚   β”‚      └── Volvo S90.jpg
β”‚   β”‚   β”‚      └── placeholder.jpg
β”‚   β”‚   β”œβ”€β”€ data/
β”‚   β”‚   β”‚      └── cars.json
β”‚   β”‚   β”œβ”€β”€ images/
β”‚   β”‚   β”‚      └── hero-bg.png
β”‚   β”‚   β”œβ”€β”€ 404.html
β”‚   β”‚   β”œβ”€β”€ index.html
β”‚   β”‚   β”œβ”€β”€ logo.png
β”‚   β”‚   β”œβ”€β”€ logo.svg
β”‚   β”‚   └── manifest.json
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ package-lock.json
β”‚   β”œβ”€β”€ tsconfig.json
β”‚   └── tailwind.config.js
β”‚
β”œβ”€β”€ backend/                      # Node/Express API server
β”‚   β”œβ”€β”€ src/                      # Backend source code
β”‚   β”‚     └── index.ts
β”‚   β”œβ”€β”€ middleware/               # Express middleware (auth, etc)
β”‚   β”‚     └── auth.js
β”‚   β”‚     └── auth.ts
β”‚   β”œβ”€β”€ models/                   # Database models (User, Car, Booking)
β”‚   β”‚     └── Booking.js
β”‚   β”‚     └── Booking.ts
β”‚   β”‚     └── Car.js
β”‚   β”‚     └── Car.ts
β”‚   β”‚     └── User.js
β”‚   β”‚     └── User.ts
β”‚   β”œβ”€β”€ routes/                   # API routes
β”‚   β”‚     └── bookingRoutes.js
β”‚   β”‚     └── bookingRoutes.ts
β”‚   β”‚     └── carRoutes.js
β”‚   β”‚     └── carRoutes.ts
β”‚   β”‚     └── userRoutes.js
β”‚   β”‚     └── userRoutes.ts
β”‚   β”œβ”€β”€ .gitignore
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ package-lock.json
β”‚   β”œβ”€β”€ server.ts
β”‚   └── tsconfig.json
β”‚
└── .env                          # Environment variables
β”œβ”€β”€ .gitignore
β”œβ”€β”€ CODE_OF_CONDUCT.md
β”œβ”€β”€ CONTRIBUTING.md               
β”œβ”€β”€ LICENSE                       
β”œβ”€β”€ README.md
β”œβ”€β”€ desktop.ini                     
β”œβ”€β”€ package.json                  # Root monorepo config


⚑ Technologies Used

🎨 Frontend:

  • React 18
  • TypeScript
  • Tailwind CSS
  • React Router
  • Axios (for API calls)
  • Firebase (Authentication)

🧠 Backend:

  • Node.js
  • Express.js
  • TypeScript
  • MongoDB (Mongoose)
  • JWT (Authentication)
  • BCryptJS (Password hashing)

🌟 Future Enhancements

  • πŸš€ Online car booking system
  • πŸ’³ Payment gateway integration
  • πŸ“Š User dashboard & booking history
  • πŸ§‘β€πŸ’Ό Admin panel for car management
  • ⭐ Ratings & reviews feature

Contributing

How to Contribute?

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Check out our Contributing Guidelines for more details!


Contributors

Thanks to all the wonderful contributors πŸ’–

See full list of contributor contributions: Contribution Graph


License

This project is licensed under the MIT License β€” see the LICENSE file for details.


⭐ If you like this project, don’t forget to give it a star!

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9