treetracker-query-api
Machine-generated documentation for Greenstand/treetracker-query-api,
the Greenstand TreeTracker Query API: a RESTful read API over the treetracker PostgreSQL data
(captures, planters/growers, organizations, trees and more). Built on Node.js/Express with a
Domain Driven Design layered architecture (Express routers, business models, knex/pg
repositories), Joi validation, an OpenAPI spec, and rascal/RabbitMQ messaging.
Start here
- Explore: open the interactive viewer. It has a guided tour of the repo. Then read the onboarding guide and the glossary.
- Source repo: Greenstand/treetracker-query-api. Read the README and the CONTRIBUTING.md of the source repo before you make a change.
- Shared resources: Container registry, Clusters and deploys, Secrets in the cluster, API gateway and domains, Shared database. Each section tells how this repo uses the resource and who looks after it.
- First tasks: pick one from the open good first issues of treetracker-query-api, or from the good first issues of all Greenstand repos.
- New to Greenstand? Read How to contribute to Greenstand. It tells you how to join the community and where to get help. Everyone follows Greenstand's Code of Conduct.
Snapshot
- Source commit:
42897d6 - Snapshot date: 2026-09-03
- Primary language: TypeScript
- Files analyzed: 189
- Graph: 241 nodes, 344 edges, 8 architecture layers, 13-step guided tour
- Domain graph: 5 domains, 13 flows, 56 steps
Contents
| File | What it is |
|---|---|
ONBOARDING.md |
Human-readable onboarding guide: architecture, key concepts, guided tour, file map, complexity hotspots. Start here. |
knowledge-graph.json |
Full code knowledge graph (nodes, edges, layers, tour). Powers the Understand-Anything dashboard. |
domain-graph.json |
Business domain graph: domains, flows, and process steps. Powers the dashboard's domain view. |
meta.json |
Snapshot metadata (analyzed-at, source commit, file count) used by the viewer's staleness banner. |
Business domains
- Tree & Capture Data: queries over trees, processed captures, and raw (unprocessed) captures.
- Stakeholder Directory: planters, grower accounts (v2), organizations, and stakeholders.
- Species Catalog: filtered species lists and single-species lookups.
- Geospatial & Mapping: map bounding boxes from capture coordinates, PostGIS nearest-feature, countries and planting leaderboard.
- Token & Transaction Ledger: issued tokens (linked to captures and wallets), token transactions between wallets, and contracts.
Regenerating
To regenerate this documentation, follow Regenerating a repo's documentation.