- .NET 8.0 SDK installed on your machine.
-
Build the Project
Use the following command to build the project:dotnet build
-
Navigate to the Binaries Folder
After building the project, navigate to the folder containing the compiled binaries (usually located in thebindirectory). -
Modify Data (Optional)
If you want to adjust the seeded data, you can edit the following files:bookings.jsonhotels.json
-
Run the Application
Run the executable file with the following command:Guestline.exe
-
Supported Commands
You can interact with the application using these example commands:- Availability: Check room availability for a hotel, date, and room type.
Example:Availability(H1, 20250906, SGL) - Search: Search for hotel availability based on a range of days and room type.
Example:Search(H1, 365, SGL)
- Availability: Check room availability for a hotel, date, and room type.