Prerequisite:
dotnet tool install dotnet-ef
- Set connection string (it has to be an absolute path):
dotnet user-secrets -p src/Library.Api set "Database:ConnectionString" "Data Source=/Users/<Path to repository>/Library/data/Library.db"
dotnet ef database update -p src/Library.Api
dotnet run --project src/Library.Api
Swagger will be available here.
dotnet run --project src/Library.Web
SPA proxy will be available here here.