REST API for logging shifts, with a console client for interacting with the API.
- Clone the repository
- In the
ShiftLoggerApi
directory, setup the database connection string in secrets.json - Initialize the database with
dotnet ef database update
- Start the API with
dotnet run
. Take note of the port number. - In another terminal, in the
ShiftLoggerClient
directory, rundotnet run https://localhost:<your port number>
. If the URL is not valid, the program will exit. - If the URL is valid, you will be presented with a menu of options. Select an option with arrow keys and confirm with enter.