Files
teaching-feedback-assistant/.env.example
shay7sev f1e5fd8793 feat: establish Rust teaching feedback API
Add the Axum and PostgreSQL service for profiles, defaults, and feedback records, including migrations, OpenAPI documentation, and development identity handling for version 0.1.0.
2026-07-15 15:36:51 +08:00

10 lines
341 B
Plaintext

# The API starts without this variable, but data endpoints return HTTP 503.
# DATABASE_URL=postgres://username:password@hostname:5432/teaching_feedback?sslmode=require
HOST=127.0.0.1
PORT=8080
DATABASE_MAX_CONNECTIONS=5
# A single development origin. Leave unset to disable CORS middleware.
# CORS_ALLOWED_ORIGIN=https://servicewechat.com