When to use this doc: You are working on the Go HTTP API: sync, auth, app bundles, export, attachments, or database layer.
See also: ../AGENTS.md.
User-facing docs: Synkronus server, REST API, deployment guides linked from the docs site.
- Synkronus is the central synchronization and coordination service for ODE: JWT auth, pull/push sync, app bundle storage, exports, attachments.
- Clients (Formulus, Portal, CLI) all use the same public API — no hidden admin-only backdoors.
cmd/synkronus/ # Entry point
internal/ # api, handlers, models, repository, services
pkg/ # Shared libraries (auth, database, middleware, openapi, ...)
- OpenAPI / Swagger: typically served under
/openapi(see running server and README.md).
- Prerequisites: Go 1.22+, PostgreSQL, configured env (see README.md and DOCKER.md).
- Run:
go run cmd/synkronus/main.go(or build fromcmd/synkronus) with a validDB_CONNECTIONand secrets. - Docker: DOCKER.md; production patterns in DEPLOYMENT.md.
- Synkronus Portal and CLI live in this monorepo as clients of this API — see their
AGENTS.mdfiles.