Skip to content

Welcome to Long Drive! Long Drive is a peer-to-peer Vehicle rental platform designed to provide users with a convenient solution for renting vehicles. This web application allows users to explore a variety of cars available for short-term rental, facilitating the entire process from browsing and transactions to booking and renting.

Notifications You must be signed in to change notification settings

its-AbhaySahani/long_drive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 

Repository files navigation

long_drive

Project Name :- Long Drive : peer-to-peer vehicle rental platform

Table of Contents

  1. Introduction
  2. Problem Statement
  3. Existing Solutions
  4. Proposed Solution
  5. Key Features
  6. Project Structure
  7. API Testing
  8. Important Links

Class Test : Deploying server on Render

Github Repo link : https://github.com/its-AbhaySahani/MERN-Basics Render Live link: https://mern-basics.onrender.com/students

Introduction :

Welcome to Long Drive! Long Drive is a peer-to-peer Vehicle rental platform designed to provide users with a convenient solution for renting vehicles. This web application allows users to explore a variety of cars available for short-term rental, facilitating the entire process from browsing and transactions to booking and renting.

Problem Statement :

In today's dynamic automotive landscape, individuals seek the convenience of renting vehicles for various purposes. Long Drive aims to provide a comprehensive solution, offering users a seamless experience for renting cars/Bikes.

Existing Solutions

Proposed Solution :

Long Drive platform proposes an inclusive solution that encompasses:

  • Long Drive proposes an inclusive solution that focuses solely on car/bike rentals, providing users with features like browsing rental cars, bikes, filtering and searching based on various parameters, viewing detailed car information, and managing rental history.
  • User also give with the feature of earning Money by giving thier car on rent which make the app more unique.

Key Features

Renting Cars

  • Browse Rental Cars: Users can explore a variety of cars available for short-term rental.
  • Filter and Search: Filter rental cars based on make, model, availability, and other parameters.
  • Car Details: View detailed information about each rental car, including images, specifications, and pricing.
  • Rent a Car/Bike: Users can select a rental period, provide payment details, and confirm their car rental.
  • Rental History: Users can view their past and current car rental history.
  • Add Car: User can add

Renting User's Car Feature ( Earn Money):

  • Add Car: User can add their vehicle on rent ing platform by providing necessary details like VIN number, Make, Model etc.

For Developers

Used Middleware :

Middleware are functions that run at specific stages of a pipeline.

Used " bcrypt js " for Hashing password:

  • bcrypt is used as it provides a high level of security against attacks such as brute force attacks.
  • Type of event (‘init’, ‘validate’, ‘save’, ‘remove’)
  • A callback that is executed with this referencing the model instance

Project Structure

  • Server Side: Backend structure
  • Routes: Admin Side Route Handling
  • Signin and Signout Routes
  • Dashboard Route
  • Add rent car route
  • View All Rented Cars Route
  • Update Car Details Route
  • Delete Car Details Route
  • Add, update and delete sale car informations

Routes : Client/customer side Route Handling

Contains all routes related to client side requests.

  1. User Registration Route
  2. User Login Route
  3. User Profile Route
  4. Search Car Route
  5. Book Now Route
  6. Payment Intent Route
  7. Add to cart for rent and sale car
  8. Show Cart Items Route
  9. Remove from cart Route
  10. CheckOut Route
  11. Update Database after rent and sale car routes
  • Models : DataBase Interaction

  • Contains all database Schemas which are interacted by controllers .
  1. UserSchema : For user authentication (signup & signin)
  2. AdminSchema: For admin authentication
  3. RentCarSchema : For adding new rent cars in the marketplace
  4. SalecarSchema: For Adding New Sale Cars In The Market Place
  5. CartSchemas: For handling shopping carts of users
  6. IncomeSchemas: For tracking income generated through sales and rent
  7. ReviewSchemas: For storing customer reviews about the rental or sale cars
  • Database : conn.js

Database used is MongoDB atlas, it's a cloud based NoSQL database provided by mongoDB

API Testing

Used PostMan for API Testing and Documentations. Documentation Link

Important Links

About

Welcome to Long Drive! Long Drive is a peer-to-peer Vehicle rental platform designed to provide users with a convenient solution for renting vehicles. This web application allows users to explore a variety of cars available for short-term rental, facilitating the entire process from browsing and transactions to booking and renting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.1%
  • CSS 19.5%
  • HTML 0.4%