Stratum

Stratum is a schema-first data middleware. Define your data model once as a GraphQL SDL schema; Stratum exposes a REST API and manages the underlying PostgreSQL storage automatically. It handles schema uploads, record creation, querying, filtering, and relation traversal — so you can focus on your data model rather than boilerplate persistence code.
Getting Started
Prerequisites
Build
go build ./...
Run
go run ./cmd/stratum
By default the server listens on :8080. Set STRATUM_SERVER_ADDR to override:
STRATUM_SERVER_ADDR=:9090 go run ./cmd/stratum
Copy stratum.yaml.example to stratum.yaml for file-based configuration. See docs/decisions/ADR-1014-configuration-system.md for details.
Contributing
See CONTRIBUTING.md for development setup, branch conventions, and the pull request workflow.
License
This project is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).