feat(example-contact-hub): configure SQLite local persistence and local file storage #6

Open
opened 2026-10-27 14:51:19 +00:00 by crapougnax · 0 comments
Owner

Migrated from GitHub https://github.com/Quatrain/Core/issues/33 (opened by @crapougnax on 2026-09-18).

Part of parent story #4.

🎯 Goal

Configure local persistence and file attachment storage for the Contact & Task Hub tutorial application.

📋 Specification

  1. Configure SQLiteAdapter from @quatrain/backend-sqlite:
    • Support database: ':memory:' in test harness.
    • Support database: './data/hub.sqlite' in CLI/Server runtime.
    • Register via Backend.addBackend(sqliteAdapter, 'sqlite', true).
  2. Configure LocalStorageAdapter from @quatrain/storage-local:
    • Store avatar images and exported vCards under ./data/attachments.
    • Register via Storage.addStorage(localStorage, 'local', true).
  3. Provide automated database bootstrap and schema migration script.
> Migrated from GitHub https://github.com/Quatrain/Core/issues/33 (opened by @crapougnax on 2026-09-18). Part of parent story #4. ### 🎯 Goal Configure local persistence and file attachment storage for the Contact & Task Hub tutorial application. ### 📋 Specification 1. Configure `SQLiteAdapter` from `@quatrain/backend-sqlite`: - Support `database: ':memory:'` in test harness. - Support `database: './data/hub.sqlite'` in CLI/Server runtime. - Register via `Backend.addBackend(sqliteAdapter, 'sqlite', true)`. 2. Configure `LocalStorageAdapter` from `@quatrain/storage-local`: - Store avatar images and exported vCards under `./data/attachments`. - Register via `Storage.addStorage(localStorage, 'local', true)`. 3. Provide automated database bootstrap and schema migration script.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quatrain/core#6
No description provided.