Currently, the app uses an in-memory DB for now for app execution and tests. The rationale for this for executions that, as the app is only being used in a demo context, it is not necessary to persist data between executions. The rationale for this for tests (rather than mocking the db) is that it speeds test writing time, elimates mocking boilerplate and possibly buggy DB mocks.
However, a persistent database is important for non-PoC applications.
Currently, the app uses an in-memory DB for now for app execution and tests. The rationale for this for executions that, as the app is only being used in a demo context, it is not necessary to persist data between executions. The rationale for this for tests (rather than mocking the db) is that it speeds test writing time, elimates mocking boilerplate and possibly buggy DB mocks.
However, a persistent database is important for non-PoC applications.
A PR to implement this here; however it would need to be ported to this repo. https://github.com/energywebfoundation/ssi/pull/158