Skip to content

Hotel Explorer: A user-friendly web app for global hotel discovery. Search by country and city, explore hotel details, and seamlessly reserve rooms.

Notifications You must be signed in to change notification settings

Muhamed4/Hotel-Booking

Repository files navigation

Hotel Explorer

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.

ER Diagram for the Project :

ERD

Some ScreenShots from the Project :

Login :LogIn

User Profile : User Profile

Browsing Hotels : Browsing Hotels

Hotel's Rooms : Hotel's Rooms

Users Reviews : Users Reviews

Features

  • 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.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • .NET 6 SDK installed on your machine
  • [Visual Studio / Visual Studio Code] or any preferred code editor

Installation

  1. Clone the repository:

    git clone https://github.com/Muhamed4/Hotel-Booking.git
    
  2. Navigate to the project folder:

    cd Hotel-Booking
    
  3. Open the project in your preferred code editor.

  4. Configure the necessary dependencies and packages (see Dependencies section).

  5. Run the application:

    dotnet run

Usage

  1. Use the search feature to find hotels by country and city.
  2. Explore individual hotels to view detailed information.
  3. If you are an admin:
    • Add, delete, and edit hotels, features, and rooms.
  4. 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.
  5. Follow the seamless reservation process to book your room.

Roles

  • The website supports two different roles: admin and normal user.

Admin Role :

  • Can add, delete, and edit hotels, features, and rooms. Admin Operations

Normal User Role :

  • 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.

Dependencies

The following packages are used in this project:

  • 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.

About

Hotel Explorer: A user-friendly web app for global hotel discovery. Search by country and city, explore hotel details, and seamlessly reserve rooms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published