Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stphnwlsh/roombookings
A sample .NET 8 console app that determines how many rooms are required to fulfull a collection of bookings.
https://github.com/stphnwlsh/roombookings
Last synced: 12 days ago
JSON representation
A sample .NET 8 console app that determines how many rooms are required to fulfull a collection of bookings.
- Host: GitHub
- URL: https://github.com/stphnwlsh/roombookings
- Owner: stphnwlsh
- Created: 2023-11-30T19:52:56.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-01T14:42:43.000Z (12 months ago)
- Last Synced: 2024-10-11T02:53:31.397Z (about 1 month ago)
- Language: C#
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](#installation)
- [Usage](#usage)## 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.
- Download [Git](https://git-scm.com/downloads) here
- Download [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) hereor
- Download [Git](https://git-scm.com/downloads) here
- Download [Docker Desktop](https://www.docker.com/products/docker-desktop/) here### Docker Instructions
```bash
# 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
```bash
# 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
```bash
# Run the application with default settings
docker run roombookings
```### .NET Instructions
```bash
# Run the application with default settings
dotnet run
```