Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 797 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 797 Bytes

Library

Setup

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"

Run step

Generate database

dotnet ef database update -p src/Library.Api

Run Api

dotnet run --project src/Library.Api

Swagger will be available here.

Run Web

dotnet run --project src/Library.Web

SPA proxy will be available here here.