Packages
@melon-db/sync-server
HTTP reference sync backend (in-memory and Postgres).
Status: Shipped · Depends on: @melon-db/sync, @melon-db/db · API: Reference
Install (alpha)
npm install @melon-db/sync-server@alphaOr with Bun:
bun add @melon-db/sync-server@alphabun run sync-server
bun run sync-server:postgres| Method | Path |
|---|---|
| POST | /sync/pull |
| POST | /sync/push |
Postgres backend uses Bun SQL with sync_meta, sync_tasks, and tombstone tables. SQL migrations live in packages/melon-sync-server/sql/.
Author & license
Copyright (c) 2026 Nate Nichols. MIT License.
