StackOverflow for flashcards.
Video demo:
- Create two new databases in PostGreSQL (one each for CardOverflow and the IdentityProvider).
- Duplicate
Config\appsettings.Development.json, renaming itConfig\appsettings.Local.json. Update the connection strings to point to the databases you just created. - Run the test named
Delete and Recreate localhost's CardOverflow Database via SqlScriptinCardOverflow.Test\InitializeDatabase.fs. - Set all projects in the
Endpointsfolder as the startup projects andF5or rundotnet-watch-run.ps1. - Run
INSERT INTO public."AlphaBetaKey" VALUES(1, 'key', 'f'). Register an account using the web interface usingkeyas the invite code. - Insert data from here or
CardOverflow.Test\AnkiExports\...by running the import: https://localhost:44315/import
Run ScaffoldAndGenerateInitializeDatabase.sql.ps1 to generate InitializeDatabase.sql.
