https://github.com/aep/apogy
a cloud native reactive json schema database built on tikv
https://github.com/aep/apogy
cuelang database graphql jsondb tikv
Last synced: 6 months ago
JSON representation
a cloud native reactive json schema database built on tikv
- Host: GitHub
- URL: https://github.com/aep/apogy
- Owner: aep
- License: bsd-3-clause
- Created: 2025-02-07T09:43:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T12:01:31.000Z (7 months ago)
- Last Synced: 2025-03-19T12:31:30.194Z (7 months ago)
- Topics: cuelang, database, graphql, jsondb, tikv
- Language: Go
- Homepage:
- Size: 516 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

=======a cloud native json schema database with composable validation
- built on tikv and nats
- strongly typed schema with bindings in most programming languages
- durable external reconcilers inspired by kubernetes
- first class object manipulation cli## quickstart
go install .
docker compose up -d
apogy serverLet's create a model, which defines a schema.
It can be hooked into many composable reactors which validate and mutate documents.
The schema is defined in [yema](https://github.com/aep/yema) which should be faily obvious.```yaml
---
model: Model
id: com.example.Book
val:
schema:
name: string
author: string
isbn?: string
---
model: com.example.Book
id: dune
val:
name: Dune
author: Frank Herbert
```apogy apply -f examples/quickstart.yaml
Try what happens when you violate the schema
apogy apply -f - <