Melon-db documentation
Offline-first local database for React Native and TypeScript.
Melon-db is a local-first database stack with an AST-first query model, SQLite adapters (Expo Go and native JSI), optional sync, and multiple query surfaces (fluent, Mango, Prisma-style).
Start here
About Melon-db
Vision, inspiration, design principles, and target users.
Getting started
Install, in-memory quick start, SQLite, and RN playground.
Setup
Schema, models, migrations, and database adapters.
Usage
CRUD, relations, queries, React hooks, read/write.
Architecture
Package layers, query flow, ADRs, sync and native paths.
Sync
Frontend/backend contract, data types, FAQ.
Roadmap
Phases 0–26 implementation history and deferred work.
