openwallet-foundation-labs / vc-api

An implementation of the VC API specification: https://w3c-ccg.github.io/vc-api/
Apache License 2.0
7 stars 9 forks source link

Persistent database #22

Closed jrhender closed 1 month ago

jrhender commented 9 months ago

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

jrhender commented 1 month ago

Closing as SQLite was implemented in #38