Official templates for building data space applications compatible with the F-AIR platform. Each template implements the F-AIR HTTP protocol and provides a ready-to-use project structure with configuration, tests and Docker support.
| Template | Language | Framework | Path |
|---|---|---|---|
| TypeScript | TypeScript (Node.js) | Express | typescript/ |
| Python | Python 3.12+ | Flask | python/ |
Both templates include:
- Full F-AIR API implementation (task management, data push/pull, file upload, analysis results)
- WebSocket support for real-time data streaming and analysis result notifications
- MongoDB integration for data persistence
- Redis integration for pub/sub across workers
- Secrets management (environment variables, SOPS)
- Authentication via bearer token
- Docker Compose setup with MongoDB, Redis and the application
- Test suite
cp -r typescript /path/to/my-data-app
cd /path/to/my-data-app
cp .env.example .env
docker compose up --buildcp -r python /path/to/my-data-app
cd /path/to/my-data-app
cp .env.example .env
docker compose up --buildEach template includes an example data space application. To build your own:
- Define your app metadata (parameters, descriptions).
- Define your outputs.
- Implement your inputs (structured, unstructured, file-based, real-time).
- Implement your analysis results.
- Wire everything in the main data app file.
Refer to each template's README for language-specific instructions.
The full F-AIR data space application protocol specification is available in the docs folder:
- Data space application protocol — HTTP API and interaction protocol between the connector and data space applications
- Real-time WebSocket protocol — WebSocket message format for real-time data streaming
- API definition (Swagger) — OpenAPI/Swagger specification
See LICENSE.