This program is designed to notify hotel price managers of competitor price changes and display the discrepancies in a calendar overview. Additionally, a price thermometer is available to suggest price regulation with the average market in mind.
The P3-Project CS-21-SW-3-12 team develops the software.
To get a local copy up and running, follow the steps below.
- Clone the repository
git clone https://github.com/KarmaKamikaze/HotelPriceScout.git
- Navigate to the root folder of the HotelPriceScout project and run
dotnet restore
to install all dependencies
cd HotelPriceScout/HotelPriceScout && dotnet restore
- Create an .xml file called
mail_config.xml
and fill in the necessary information in the following way:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<MailConfig>
<SenderEmailAddress>SOFTWARE_EMAIL</SenderEmailAddress>
<SenderPassword>SOFTWARE_PASSWORD</SenderPassword>
<ReceiverEmailAddress>RECEIVER_ADDRESS</ReceiverEmailAddress>
<ReceiverName>RECEIVER_NAME</ReceiverName>
</MailConfig>
</configuration>
- While in the root folder, start the server by running
dotnet run
dotnet run
- The site can be visited in a browser at the address
localhost:5001
https://localhost:5001
When the program is opened for the first time, the Settings page (pictured below) will appear.
The Settings page has the following functionality:
-
Changing the Margin value percent.
- This will change the program's sensitivity, i.e., how far the client's prices have to be from the average market price before it is flagged.
-
Changing the Amount of notifications.
- Allows the user to choose how many times a day (0-3) to notify of discrepancies between client prices and average market prices.
-
Changing the Notification time.
- Allows the user to change the time of day to receive the notification(s) from the program (if any).
-
Start the program with the green button labeled Start program.
- Clicking this will trigger a pop-up asking the user to continue to the Dashboard or stay on the Settings page.
-
After the Start program button is clicked and the program is running
- The green Start program button will disappear and be replaced with two smaller buttons labeled Stop program and Update program.
- Stop program will stop the scouting activities until the program is restarted.
- Update program has to be pressed whenever changes are made to the settings to bring them into effect.
-
The Dashboard button in the top-right corner is disabled until the Start program button is pressed. After this, the Dashboard button will redirect to the Dashboard page.
After navigating to the Dashboard page, either by clicking Go to dashboard in the pop-up triggered by starting the program or by clicking the Dashboard button in the top-right corner once the program is started, the interface will appear like the image below:
The Dashboard page has the following functionality:
-
Two arrow-shaped buttons change the month displayed (Maximum 3 months into the future and 0 into the past).
-
A dropdown menu to choose the room type to show prices for (1/2/4 adult(s)).
-
A dropdown menu to choose specific competing hotels; the average market price will be calculated based on the choices here.
-
An interactive calendar.
- The calendar will show basic information about each day (only the client's price and the average market price).
- To show more in-depth information, click on a day, and a new container will appear on the right side of the screen, including the prices of all selected competitors.
-
The Scout settings button in the top right corner.
- Will redirect to the Settings page.
Distributed under the GNU General Public License v3.0 License. See LICENSE
for more information.
Project Link: https://github.com/KarmaKamikaze/HotelPriceScout