Develop CoRE Stack¶
This section is for people who want to build with CoRE Stack, not only read about it.
Start here if you want to install the backend, understand what data is available, trace how a computation runs, or add a new pipeline without getting lost in the older long-form notes.
Quick Guide¶
- Install the backend and run Django locally.
- Read the Backend Code Map so you know which scripts/functions to look for, in your repo.
- Move into Build Pipelines when you are ready to run or extend computations.
- Keep Troubleshooting and Coding Standards open while you work.
What You Are Building On¶
CoRE Stack is a public geospatial computation stack. It brings together micro-watersheds, administrative boundaries, public datasets, satellite-derived layers, Earth Engine computation, GeoServer publication, and API access.
For developers, the important idea is simple: a pipeline takes a place and some parameters, computes a geospatial product, stores its metadata, and publishes it so dashboards, notebooks, QGIS projects, and community platforms can use it.
flowchart TB
A[Public data and base layers] --> B[Backend APIs]
B --> C[Celery tasks]
C --> D[Pipeline code]
D --> E[GEE, local files, or GCS]
E --> F[GeoServer and PostGIS metadata]
F --> G[Explorer, notebooks, QGIS, community apps]
Current Backend Reference¶
The main source repository is core-stack-org/core-stack-backend.
The developer docs in this section are grounded in the current backend structure:
nrm_app/urls.pymounts the Django API apps under/api/v1/.computing/urls.pylists computation API paths.computing/api.pykeeps HTTP handlers thin and usually queues Celery tasks.computing/contains the actual geospatial pipeline modules.utilities/gee_utils.pyhandles Earth Engine, GCS, asset paths, exports, and task polling.computing/utils.pyhandles GeoServer publication and layer metadata bookkeeping.
That is the map to keep in mind while reading the rest of this section.