treetracker-field-data
Machine-generated documentation for Greenstand/treetracker-field-data,
the Greenstand Field Data service: a Node.js/Express microservice that owns the raw tree-tracking
data uploaded from treetracker app devices. It follows an MVC-like layered architecture
(Protocol/Service/Model/Repository) over two PostgreSQL databases (app field-data + legacy
treetracker main). It uses Knex, Joi validation, and Swagger docs.
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-field-data. Read the README 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-field-data, 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:
8ffb53c - Snapshot date: 2026-11-02
- Primary language: JavaScript
- Files analyzed: 198
- Graph: 360 nodes, 766 edges, 10 architecture layers, 15-step guided tour
- Domain graph: 6 domains, 21 flows, 91 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) probed by the viewer for its staleness banner. |
Business domains
- Raw Capture Ingestion: capture creation, rejection, and query with dual-database writes.
- Session & Track Tracking: capture sessions and the GPS tracks of a session.
- Device Configuration: device registration and queries.
- Wallet Registration: idempotent wallet registration and queries.
- Legacy Database Bridging: legacy tree dual-write and ETL backfill while the legacy database is still in use.
- Schema Migrations & Seed Data: the db-migrate schema migrations and the Knex seeds for development databases.
Regenerating
To regenerate this documentation, follow Regenerating a repo's documentation.