https://asyncinnt253.azurewebsites.net
The web application consists of a frontend written in Razor views, HTML, CSS, Bootstrap. The backend was written in C# using ASP.NET Core 2.2, Entity Framework Core, and the MVC framework.
This application allows you to seamlisly navigate the website withought any issues andselect hotels based on amenities room availability, price, and much more! these hotels allow the user to save their input and changes to the webpage you should use this application bevause it allows the manager of a hotel to efficiently and easily manage their hotel.
Microsoft Visual Studio Community 2017 (Version 15.5.7)
- C#
- ASP.Net Core
- Entity Framework
- MVC
- xUnit
- Bootstrap
- Azure
Deployment
Clone this repository to your local machine.
$ git clone https://github.com/AsyncInn/AsyncInn.git
Once downloaded, you can either use the dotnet CLI utilities or Visual Studio 2017 (or greater) to build the web application. The solution file is located in the AmandaFE subdirectory at the root of the repository.
cd YourRepo/YourProject
dotnet build
The dotnet tools will automatically restore any NuGet dependencies. Before running the application, the provided code-first migration will need to be applied to the SQL server of your choice configured in the /AmandaFE/AmandaFE/appsettings.json file. This requires the Microsoft.EntityFrameworkCore.Tools NuGet package and can be run from the NuGet Package Manager Console:
Update-Database
Once the database has been created, the application can be run. Options for running and debugging the application using IIS Express or Kestrel are provided within Visual Studio. From the command line, the following will start an instance of the Kestrel server to host the application:
cd YourRepo/YourProject
dotnet run
user -> server -> C -> M -> REST api -> C -> V -> Db / User
This is the digram used to make this database
Parameter | Type | Required |
---|---|---|
ID | int | YES |
Amenity | string | YES |
HotelID | int | YES |
HotelRoom | hotelroomID | yes |
RoomID | int | yes |
Room Layout | enum | YES |
Name | string(s) | Yes |
Room number | ints | Yes |
Date | date/time object | YES |
1.0 Deploys site
Tanner Percival