- Introduction
- Problem Statement
- Existing Solutions
- Proposed Solution
- Key Features
- Project Structure
- API Testing
- Important Links
Github Repo link : https://github.com/its-AbhaySahani/MERN-Basics Render Live link: https://mern-basics.onrender.com/students
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.
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.
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.
- 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
- Add Car: User can add their vehicle on rent ing platform by providing necessary details like VIN number, Make, Model etc.
Middleware are functions that run at specific stages of a pipeline.
- 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
- 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
Contains all routes related to client side requests.
- User Registration Route
- User Login Route
- User Profile Route
- Search Car Route
- Book Now Route
- Payment Intent Route
- Add to cart for rent and sale car
- Show Cart Items Route
- Remove from cart Route
- CheckOut Route
- Update Database after rent and sale car routes
- Contains all database Schemas which are interacted by controllers .
- UserSchema : For user authentication (signup & signin)
- AdminSchema: For admin authentication
- RentCarSchema : For adding new rent cars in the marketplace
- SalecarSchema: For Adding New Sale Cars In The Market Place
- CartSchemas: For handling shopping carts of users
- IncomeSchemas: For tracking income generated through sales and rent
- ReviewSchemas: For storing customer reviews about the rental or sale cars
Database used is MongoDB atlas, it's a cloud based NoSQL database provided by mongoDB
Used PostMan for API Testing and Documentations. Documentation Link