[Story 1/3] Tutorial: Sovereign Contact & Task Hub (Local-First to Cloud) #4
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
qa:preview
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quatrain/core#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🎯 Story Overview
As a solopreneur or indie hacker,
I want to build a local-first Contact & Task Hub using pure TypeScript domain models, SQLite, and local file storage with zero infrastructure overhead,
So that I can prototype and test at 0ms latency and effortlessly migrate to cloud PostgreSQL with zero business logic changes.
📦 Ecosystem Packages
@quatrain/core(BaseObject, Properties, Validation)@quatrain/backend&@quatrain/backend-sqlite(PersistedBaseObject, Dynamic Repository, SQLiteAdapter)@quatrain/storage&@quatrain/storage-local(LocalStorageAdapter)@quatrain/api-server-express(CrudEndpoint)📋 Child Tasks & Implementation Plan
feat(example-contact-hub): scaffold domain models and typed validation schemafeat(example-contact-hub): configure SQLite local persistence and local file storagefeat(example-contact-hub): implement REST CRUD endpoints and ObjectUri retrievaldocs(example-contact-hub): write comprehensive step-by-step tutorial and README✅ Acceptance Criteria
Contact,TaskItem) contain zero external database dependencies.SQLiteAdapter({ config: { database: ':memory:' } }).Backend.addBackend().examples/contact-hub.