This repo now has one demo, not a pile of sample apps.
It compares two paths against the same local GraphQL server and the same database-backed resolver delay:
- Plain GraphQL + database-backed server: the message appears only after the server responds.
- Emindera plugin + the same GraphQL API: the message appears immediately, queues locally, then reconciles with the server response.
Emindera is a React/React Native plugin. It is not a framework, not a scaffold, and not a replacement for your database or GraphQL API.
Keep the SDK repo next to this repo:
/Users/kabirsekhon/Documents/Coding/
emindera/
examples/
The demo uses link:../emindera/packages/* dependencies. That keeps it pointed at your local SDK source without turning the examples repo into part of the SDK workspace.
Then:
pnpm install
pnpm devOpen the Vite URL, usually http://localhost:5173.
The GraphQL server runs at http://localhost:4100/graphql.
By default the server uses an in-memory store so the demo opens immediately.
To run the same demo against local Postgres:
pnpm db:up
pnpm dev:postgresdev:postgres uses DATABASE_URL=postgres://emindera:emindera@localhost:5432/emindera_demo. The server creates the tiny demo tables automatically.
pnpm lint
pnpm typecheck
pnpm buildMIT.