Skip to content

A hotel CMS where there were several hotels, hotel room types, and amenities to choose from or add too, as the owner of a hotel chain. SQL database focused (xUnit Testing)

Notifications You must be signed in to change notification settings

Tanner253/Hotel-CMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

***Async Inn



Project = AsyncInn


We are deployed on Azure - Taken down 10/1/2019 due to fees

https://asyncinnt253.azurewebsites.net


Web Application

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.


Tools Used

Microsoft Visual Studio Community 2017 (Version 15.5.7)

  • C#
  • ASP.Net Core
  • Entity Framework
  • MVC
  • xUnit
  • Bootstrap
  • Azure

Recent Updates

V 1.0

Deployment

Getting Started

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

Usage

Overview of Recent Posts

Hotels

Creating a Post

Post Creation

Enriching a Post

Enriching Post


Data Flow (Frontend, Backend, REST API)

user -> server -> C -> M -> REST api -> C -> V -> Db / User Data Flow Diagram


Data Model

Overall Project Schema

This is the digram used to make this database Database Schema


Model Properties and Requirements

Blog

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

Change Log

1.0 Deploys site


Authors

Tanner Percival


About

A hotel CMS where there were several hotels, hotel room types, and amenities to choose from or add too, as the owner of a hotel chain. SQL database focused (xUnit Testing)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published