Skip to content

femi777/SmartHotel360-Website

Repository files navigation

SmartHotel 360 - Public Web

Welcome to the repository containing the public web site of the SmartHotel360.

Getting Started

Once downloaded you can open the SmartHotel360.PublicWebSite.sln file to open the solution. This solution contains two projects:

  • The SmartHotel360.PublicWeb project: A asp.net core2 website which is a SPA webapp developed using React+Redux and server-side rendering.
  • The PetCheckerFunction project: An Azure function used for the "bring your per scenario".

Screens

Running the web

Just set SmartHotel360.PublicWeb as startup project. Then hit F5, and the web should run. The web is configured to use the public endpoints for the backend, so you don't need to run the backend locally.

Configuring the web

The file appsettings.Development.json contains the options of the web site. By default following options are used:

  • SettingsUrl: Url of the configuration endpoint. By default it uses the public endpoint service. Only change if you are running your own backend services.
  • AzureFunction: Url of the azure function used to peek tweets in the home page. Again, by default it uses the public environment.
  • FakeAuth: Contains data to "simulate" the login process. Data is Name (name of the user), UserId (id of the user), PicUrl (url of the user avatar).

If FakeAuth is not the PublicWeb site uses an Azure Active Directory B2C to enable the logins. Please read "Enabling B2C logins" if you want to use B2C logins.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

About

SmartHotel360 Webiste

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 72.3%
  • JavaScript 22.1%
  • C# 5.0%
  • Other 0.6%