- Get .NET Core 2.1 or later:
This is best done by following the instructions found here.
- Clone:
git clone https://github.com/hgranlund/highscore-api
- Build:
dotnet restore
dotnet build
- Run:
cd ./HighscoreApi/
dotnet run
- Test:
cd ./HighscoreApi.Test/
dotnet test
To scaffold a migration and create the initial set of tables for the model, run:
dotnet ef migrations add MigrationName
To apply the new migration to the database, run:
dotnet ef database update