Hotel Explorer is a web application developed in .NET 6 MVC and C# to empower users to discover and explore hotels around the world. Whether you're planning a business trip or a vacation, Hotel Explorer provides a user-friendly platform to find, explore, and book hotels effortlessly.
- Search by Country and City: Users can easily search for hotels based on the country and city of their choice.
- Detailed Hotel Information: Explore detailed information about each hotel, including features, amenities, and more.
- Seamless Reservation Process: Hotel Explorer facilitates a hassle-free room reservation process, ensuring a smooth experience for users.
- Interactive User Interface: The platform offers an interactive and intuitive user interface, enhancing the overall user experience.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- .NET 6 SDK installed on your machine
[Visual Studio / Visual Studio Code]
or any preferred code editor
-
Clone the repository:
git clone https://github.com/Muhamed4/Hotel-Booking.git
-
Navigate to the project folder:
cd Hotel-Booking
-
Open the project in your preferred code editor.
-
Configure the necessary dependencies and packages (see Dependencies section).
-
Run the application:
dotnet run
- Use the search feature to find hotels by country and city.
- Explore individual hotels to view detailed information.
- If you are an admin:
- Add, delete, and edit hotels, features, and rooms.
- If you are a normal user:
- Interact with hotels by giving a
Love
. - Make reservations for hotels.
- Provide reviews by giving ratings and writing comments in case you have visited the hotel before otherwise, you can't.
- Interact with hotels by giving a
- Follow the seamless reservation process to book your room.
- The website supports two different roles: admin and normal user.
- Can interact with hotels by giving a
Love
. - Can make reservations for hotels visited.
- Provide reviews by giving ratings and writing comments in case you have visited the hotel before otherwise, you can't.
- Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (Version 6.0.25): Middleware for Entity Framework Core error pages in ASP.NET Core applications.
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (Version 6.0.25): ASP.NET Core Identity infrastructure using Entity Framework Core for user authentication, authorization, and management.
- Microsoft.AspNetCore.Identity.UI (Version 6.0.25): Default UI views and templates for ASP.NET Core Identity.
- Microsoft.EntityFrameworkCore (Version 6.0.25): Object-Relational Mapping (ORM) framework simplifying database interactions in ASP.NET Core applications.
- Microsoft.EntityFrameworkCore.SqlServer (Version 6.0.25): Components for using Entity Framework Core with SQL Server as the database provider.
- Microsoft.EntityFrameworkCore.Tools (Version 6.0.25): Tools for Entity Framework Core migrations and development tasks.
- Microsoft.Extensions.Configuration (Version 8.0.0): Part of the Microsoft.Extensions.Configuration framework, providing a configuration system for .NET applications.
- Microsoft.Extensions.Configuration.Json (Version 8.0.0): Adds JSON configuration file support to Microsoft.Extensions.Configuration framework.
- Microsoft.VisualStudio.Web.CodeGeneration.Design (Version 6.0.16): Design-time components for ASP.NET Core code generation, used for scaffolding controllers, views, and other code.