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
This commit is contained in:
@@ -15,5 +15,8 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user