A full-stack ASP.NET Core MVC application for managing laundry facility bookings in university dormitories.
- Smart booking flow for available machines and timeslots.
- Validation for past dates, closed Sundays, and already-passed timeslots for today.
- Fair usage policy limiting students to 3 active bookings.
- Booking dashboard with cancellation support.
- Dashboard with booking and machine status summaries.
- Machine management for washers and dryers.
- Safety checks that block deleting or deactivating machines with booking history or active future bookings.
- User management with role-based access.
- Timeslot management for operating hours.
- Framework: ASP.NET Core 8.0 MVC
- Database: Entity Framework Core (SQL Server)
- Auth: ASP.NET Core Identity (Role-based Authorization)
- Frontend: Bootstrap 5, Razor Views
- Clone the repository
git clone https://github.com/nyorojames/LaundryAppointmentSystem.git
- Update Database
The project uses Entity Framework Code First. Open the Package Manager Console in Visual Studio and run:
update-database
- Run the Project
Press
F5or run via CLI:dotnet run
- Default Credentials
- Upon first run, you may need to register a user or seed the database depending on the configuration.