Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

AntWorker API

A Rust API for workspace-based products, built as a template to fork. It is built module by module: docs/spec/ states what each module guarantees, and docs/MIGRATION.md tracks what exists so far.

Quickstart

Requires Rust (through rustup), just, Docker, cargo-deny, and watchexec for just dev. just setup checks the versions the justfile pins.

just              # lists the tasks, by group, each with what it does; those only CI runs are left out
just setup        # checks the tools, and writes .env from .env.example, with generated passwords
just dev          # starts Postgres, migrates, and runs the API, restarting it when the code changes
just dev observe  # the same, with the observability stack (docs/operations/observability.md)
just seed         # fills the development database with demo accounts and workspaces, and prints how to sign in
just ci           # runs every check CI runs, building the image too
just release      # shows the versions that can come next; `just release 1.0.0` releases main as 1.0.0 (docs/operations/release.md)

While just dev runs, http://127.0.0.1:8080/docs shows the API reference of the running code, from which a browser can call the API, signed in as an account that just seed created, and http://127.0.0.1:8025 shows every email the API sent. just seed fills a database once. To fill it again, recreate the database with the commands that CLAUDE.md gives for editing a migration.

Documentation

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages