Files
landing_page/backend/.env.example
T
Godopu 3f452468d6 feat(console,api): implement /console Admin Dashboard and Go backend full CRUD REST APIs
- Add comprehensive /console admin web UI for managing research projects, areas, members, publications, patents, lectures, and standards
- Implement Admin token authentication middleware (RequireAdminToken) with Bearer token validation
- Implement POST, PUT, DELETE REST API endpoints for all database entities across 5 domains
- Add typed admin API client in refer_landing_page/lib/adminApi.ts with localStorage session persistence
- Enhance E2E test runner to manage backend server lifecycle during automated tests
- Pass all 12 quality gates cleanly with unanimous reviewer PASS verdicts
2026-08-24 22:21:12 +09:00

23 lines
730 B
Bash

# ==============================================================================
# AI Agent Networking Lab (ANL) Backend API Server Configuration
# ==============================================================================
# Server binding host and port
HOST=0.0.0.0
PORT=8080
# SQLite database file path (Inside container: /app/data/anl.db)
DB_PATH=anl.db
# Gin runtime mode: release | debug | test
GIN_MODE=release
# Allowed CORS Origins (Comma separated, or * for all)
CORS_ALLOW_ORIGINS=*
# Admin console secret bearer token for POST/PUT/DELETE mutations (Required in release mode)
ADMIN_TOKEN=your_secure_admin_bearer_token_here
# Automatically run SQL schema migrations on startup (true | false)
AUTO_MIGRATE=true