The elevator control system is a Web API for controlling elevators.
The quickest way to get a running instance of the API is by executing the following commands from the repository root directory.
Note: This project requires dotnet
version 5.0
From the repository root directory open a terminal and execute:
dotnet restore
dotnet build
dotnet run --project ./ElevatorControl.Api
If you need to make changes, simply open the ElevatorControlSystem.sln
in your preferred IDE.
The solution is structured into 4-projects:
Elevator.Api
- The Web API for processing incoming requests.Elevator.Application
- The library for handling business logic on how the elevator should function.Elevator.Contract
- The bounded context of the Web API. It contains the request models that we expose to consumers.Elevator.Tests
- The unit tests that ensure the business logic inElevator.Application
is correct.
- Authorization/Authentication