Files
sriphat-dataplatform/03-apiservice
jigoong e4d32b86cb feat: add VOC data endpoint (POST /api/v1/voc-data)
- Add VocDataIn schema (date, topic, sub_topic, level, depart_id, dep_name)
- Add RawVocData SQLAlchemy model (rawdata.raw_voc_data, BIGSERIAL PK)
- Add POST /api/v1/voc-data endpoint with voc.data:write permission
- Dual-write to local PostgreSQL + Supabase
- Table auto-created on startup via Base.metadata.create_all()
2026-06-04 18:22:14 +07:00
..
2026-02-25 02:08:34 +07:00

03-apiservice: Custom FastAPI Service

Build & Start

docker compose --env-file ../.env.global up --build -d

Access

Internal only - access via Nginx Proxy Manager at /apiservice

Admin UI

  • Login: http:///apiservice/admin/
  • Generate API Key: POST /apiservice/admin/api-keys/generate