feat(teacher-portal): 完整实现 teacher-portal 微前端
包含 settings/students/api、graphql、mocks、ui-tokens 设计令牌等
This commit is contained in:
12
.env.example
12
.env.example
@@ -21,7 +21,17 @@ DEV_MODE=false
|
||||
# 服务端口
|
||||
API_GATEWAY_PORT=8080
|
||||
CLASSES_SERVICE_PORT=3001
|
||||
TEACHER_PORTAL_PORT=3000
|
||||
TEACHER_PORTAL_PORT=4000
|
||||
|
||||
# teacher-portal(ai13,MF Shell)
|
||||
# GraphQL endpoint(经 api-gateway 代理到 teacher-bff,contract.md §2.3)
|
||||
NEXT_PUBLIC_TEACHER_BFF_GRAPHQL_URL=/api/v1/teacher/graphql
|
||||
# MSW mock 开关(contract.md §4.2,enabled 时启用 MSW 拦截上游)
|
||||
NEXT_PUBLIC_API_MOCKING=enabled
|
||||
# MF Remote 开关(ARB-002 §2.3,P2 默认 false,P3+ 启用 student-portal)
|
||||
NEXT_PUBLIC_MF_ENABLED=false
|
||||
# api-gateway URL(next.config.js rewrites 代理目标)
|
||||
API_GATEWAY_URL=http://localhost:8080
|
||||
|
||||
# 数据库连接
|
||||
DATABASE_URL=mysql://edu:changeme@localhost:3306/next_edu_cloud
|
||||
|
||||
Reference in New Issue
Block a user