# Teikei

Teikei is an open-source web application and API that maps community-supported agriculture (CSA) farms across Germany, Switzerland, and Austria using crowdsourced data.

Canonical page: https://ourlocalhost.com/app/8811/teikei

## Description

Teikei is an open-source web application and API that maps community-supported agriculture (CSA) farms across Germany, Switzerland, and Austria using crowdsourced data. It powers sites such as Ernte teilen, solawi.ch, and solidarische-landwirtschaft.org. It is a monorepo with a Node.js API built on Feathers and Express, PostgreSQL for data storage, and a scheduled job queue, making it useful for solidarity-farming networks that want their own farm-mapping platform.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

60/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 33 days ago)
- Popular: 37 (66 GitHub stars)
- Easy to install: 10 (1 install platform)
- Security check: 60 (no serious findings, 13 minor, CI, tests, OpenSSF Scorecard 4.6/10)

## Links

- GitHub: https://github.com/teikei/teikei
- Official website: https://ernte-teilen.org/karte

## Common questions

### How do I configure Teikei after cloning the repository?

Create an `.env` file in the root directory with the variables listed in `.env.sample`, then run `scripts/link-env.sh` to symlink it into each package (api, admin, map, embed).

### What are the runtime requirements?

Teikei requires Node.js >= 18, npm, and PostgreSQL >= 9.5; development mode additionally needs Docker running since the database runs in a container.

### Does development mode persist my data?

No — development mode runs PostgreSQL in a Docker container and repopulates it with new test data on each run.

### How do I run the full application stack or the admin separately?

The monorepo uses npm workspaces and lerna with top-level scripts: `npm run dev` starts the map plus API, while `npm run dev:admin` starts the admin application, which connects to the same API backend through separate admin endpoints.

---
Source: Our Local Host (https://ourlocalhost.com/app/8811/teikei), the self-hosted and open-source app directory.
