stphnwlsh / RoomBookings

A sample .NET 8 console app that determines how many rooms are required to fulfull a collection of bookings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Name

Description

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.

Table of Contents

Installation

Dependencies

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.

or

Docker Instructions

# 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

.NET Instructions

# Clone the repository
git clone https://github.com/stphnwlsh/RoomBookings.git

# Navigate to the project directory
cd RoomBookings

# Build the project
dotnet build

Usage

Docker Instructions

# Run the application with default settings
docker run roombookings

.NET Instructions

# Run the application with default settings
dotnet run

About

A sample .NET 8 console app that determines how many rooms are required to fulfull a collection of bookings.


Languages

Language:C# 83.0%Language:Dockerfile 17.0%