Deze documentatie beschrijft hoe projecten buiten deze workspace toegang kunnen krijgen tot het datalake (AWS S3) en de student databases (PostgreSQL).
Er zijn twee manieren om toegang te krijgen:
Als je project op dezelfde machine draait:
# PostgreSQL
DATABASE_URL=postgresql://postgres:postgres@localhost:5435/platform
# Datalake (AWS S3 of lokale S3-compatible endpoint)
AWS_REGION=eu-west-1
AWS_ACCESS_KEY_ID=your-key
AWS_SECRET_ACCESS_KEY=your-secret
# Optioneel voor lokale dev: S3_ENDPOINT=http://localhost:9005
Zie DIRECT_CONNECTION.md voor gedetailleerde instructies.
Voor projecten op andere machines of netwerken:
# API Base URL
API_BASE_URL=http://localhost:8082
API_KEY=your-api-key-here
Zie API_ACCESS.md voor API documentatie.
┌─────────────────────────────────────────────────────────────┐
│ External Projects │
├─────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────────────┐ ┌──────────────────┐ │
│ │ Direct Connect │ │ REST API │ │
│ │ (localhost) │ │ (HTTP/HTTPS) │ │
│ └────────┬─────────┘ └────────┬─────────┘ │
│ │ │ │
└───────────┼──────────────────────────────┼────────────────────┘
│ │
│ │
┌───────────▼──────────────────────────────▼────────────────────┐
│ Platform Infrastructure │
│ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ PostgreSQL │ │ S3 Datalake │ │ API Service │ │
│ │ :5435 │ │ (AWS) │ │ :8082 │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
└──────────────────────────────────────────────────────────────┘
Voor vragen of problemen, zie de specifieke documentatie of neem contact op met de workspace maintainer.