The Vehicle Rental System is a web application built using ASP.NET Core MVC with Razor Pages that allows users to rent vehicles efficiently. It follows the Code-First approach with Entity Framework Core and implements the Repository Pattern along with a Service Layer for better separation of concerns.
- ✅ User Authentication & Authorization (JWT-based)
- ✅ Vehicle Management (Add, Update, Delete, List)
- ✅ Rental Booking System (Ensures a vehicle can only be booked by one user at a time)
- ✅ Booking Validation (Prevents double booking, throws an exception)
- ✅ Global Exception Handling Middleware
- ✅ Search & Filtering for Vehicles
- ✅ Admin Dashboard for Vehicle Management
- Frontend: Razor Pages (ASP.NET Core MVC)
- Backend: ASP.NET Core MVC
- Database: SQL Server (EF Core – Code-First Approach)
- ORM: Entity Framework Core
- Architecture: Repository Pattern + Service Layer
- Authentication: JWT Authentication
- Exception Handling: Global Exception Handling Middleware
git clone https://github.com/prasadm11/VehicleRentalSystem.git
cd VehicleRentalSystemdotnet ef database updatedotnet runhttps://localhost:5001/
This project is open-source under the MIT License.