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 SqlScript
inCardOverflow.Test\InitializeDatabase.fs
. - Set all projects in the
Endpoints
folder as the startup projects andF5
or rundotnet-watch-run.ps1
. - Run
INSERT INTO public."AlphaBetaKey" VALUES(1, 'key', 'f')
. Register an account using the web interface usingkey
as 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
.