Skip to content

MVC Web application serving as a car rental listing platform, developed in C#, HTML, JS and CSS using ASP.NET Core, Entity Framework Core, Bootstrap and Google Cloud API. The platform enables users to create and browse car rental listings interactively and efficiently.

Notifications You must be signed in to change notification settings

m-bugaj/Car-Rental-Hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoRent - Car Rental Platform 🚗

Welcome to AutoRent, a web application that serves as a car rental platform, allowing users to list their cars for rent and make reservations. It's your go-to online car rental hub where anyone can showcase their vehicles.

Gallery

Main Dashboard

Main Dashboard

Filter Form

Filter Form

Add a Car Ad

Add a Car Ad - Main View

Car Ads List

Car Ads List

Car Ad Details

Car Ad Details

Event Calendar

Event Calendar

Reservation Form

Reservation Form

Login Screen

Login Screen

My Offers Screen

My Offers Screen

My Reservations

My Reservations

Reservation Details + Contact Screen

Reservation Details + Contact Screen

Features 🌟

  • Responsive Design 📱: Utilizing Bootstrap for a responsive, functional, and modern look.
  • Identity Integration 🔐: Users can create accounts and log in. Unauthenticated users can browse and view car details, while additional features are accessible only to logged-in users.
  • User Roles 👤: Distinct views for sellers and customers in the logged-in state.
  • Google Authentication 🌐: Sign up or log in using Google via API integration.
  • Entity Framework 🔄: Database operations are handled efficiently with Entity Framework.
  • Dynamic Filtering 🎯: Users can filter cars using a form on the homepage.
  • Ad Management 📝: Sellers can add, edit, and manage their car listings.
  • Reservation System 🗓️: Customers can reserve cars for specific dates.
  • Reservation and Listing Views 👀: Users can view their reservations and listings separately.

Getting Started 🚀

Follow these steps to run the application using Visual Studio:

  1. Clone the Repository:

    • Open a terminal.
    • Run:
      git clone https://github.com/m-bugaj/Car-Rental-Hub.git
  2. Open Solution in Visual Studio:

    • Launch Visual Studio.
    • Open the CarRentalHub.sln solution file.
  3. NuGet Packages:

    • Restore NuGet packages for the solution.
  4. Update Database:

    • Open Package Manager Console (Tools -> NuGet Package Manager -> Package Manager Console).
    • Run the following commands to apply migrations and update the database:
      Add-Migration InitialMigration -Context CarRentalHubContext
      Update-Database -Context CarRentalHubContext
      Add-Migration InitialMigration -Context PhotoContext
      Update-Database -Context PhotoContext
      # Repeat for FilterDataContext and CarAvailabilityContext
  5. Update FilterData Table:

    • Update the FilterData table in the database with car brands, models, and generations.
  6. Run the Application:

    • Press F5 or use the "Start Debugging" button to run the application.
  7. Access the Application:

    • Open your web browser and go to https://localhost:{YOUR_LOCAL_PORT}.

Future Enhancements 🚀

In the future, I plan to add real-time chat functionality between sellers and customers. Additionally, a map feature will be introduced to narrow down search results based on locations.

Feel free to contribute or provide feedback for the continuous improvement of AutoRent! 🚗✨

About

MVC Web application serving as a car rental listing platform, developed in C#, HTML, JS and CSS using ASP.NET Core, Entity Framework Core, Bootstrap and Google Cloud API. The platform enables users to create and browse car rental listings interactively and efficiently.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published