A sample project to calculate the number of rooms required to handle a collection of bookings. Given that each booking is for a single room only and has a start and end time associated with each booking.
Building and running the application requires Git to retrieve and .NET 8 to build and run the application. You can choose to use Docker to avoid installing the .NET SDK on your machine or to run it natively via the .NET 8 SDK.
- Download Git here
- Download .NET 8.0 SDK here
or
- Download Git here
- Download Docker Desktop here
# Clone the repository
git clone https://github.com/stphnwlsh/RoomBookings.git
# Navigate to the project directory
cd RoomBookings
# Build the project
docker build . -t roombookings
# Clone the repository
git clone https://github.com/stphnwlsh/RoomBookings.git
# Navigate to the project directory
cd RoomBookings
# Build the project
dotnet build
# Run the application with default settings
docker run roombookings
# Run the application with default settings
dotnet run