See the Makefile
s or more details.
make run-client
make run-api
dotnet user-secrets init
You can configure the audience, issuer, and expiration time in appsettings.json
.
dotnet user-secrets set 'JwtSettings:IssuerSigningKey' 'your-secret-key-here'
You'll need to have psql
installed.
psql -U postgres postgres
CREATE USER okane WITH ENCRYPTED PASSWORD 'your-secure-password';
ALTER USER okane CREATEDB;
\q
dotnet user-secrets set 'DbSettings:ConnectionString' 'Host=localhost;Username=okane;Password=your-secure-password;Database=okane'
dotnet tool install -g dotnet-ef
// If in API project:
dotnet ef database update
// If in solution root:
dotnet ef database update --project ./Okane.Api