feat(teacher-portal): 完整实现 teacher-portal 微前端

包含 settings/students/api、graphql、mocks、ui-tokens 设计令牌等
This commit is contained in:
SpecialX
2026-07-10 19:10:20 +08:00
parent 14d836beb0
commit 1eacd1ed87
48 changed files with 3897 additions and 1056 deletions

View File

@@ -21,7 +21,17 @@ DEV_MODE=false
# 服务端口
API_GATEWAY_PORT=8080
CLASSES_SERVICE_PORT=3001
TEACHER_PORTAL_PORT=3000
TEACHER_PORTAL_PORT=4000
# teacher-portalai13MF Shell
# GraphQL endpoint经 api-gateway 代理到 teacher-bffcontract.md §2.3
NEXT_PUBLIC_TEACHER_BFF_GRAPHQL_URL=/api/v1/teacher/graphql
# MSW mock 开关contract.md §4.2enabled 时启用 MSW 拦截上游)
NEXT_PUBLIC_API_MOCKING=enabled
# MF Remote 开关ARB-002 §2.3P2 默认 falseP3+ 启用 student-portal
NEXT_PUBLIC_MF_ENABLED=false
# api-gateway URLnext.config.js rewrites 代理目标)
API_GATEWAY_URL=http://localhost:8080
# 数据库连接
DATABASE_URL=mysql://edu:changeme@localhost:3306/next_edu_cloud