stratum

module
v0.0.0-...-fe7df4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2026 License: AGPL-3.0

README

Stratum

CI codecov Go Report Card

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).

Directories

Path Synopsis
cmd
stratum command
internal
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
plugin
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: AGPL-3.0-or-later

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL