feat: rebuild CSP practice workflow, UX and automation

这个提交包含在:
Codex CLI
2026-02-13 15:49:05 +08:00
父节点 d33deed4c5
当前提交 e2ab522b78
修改 105 个文件,包含 15669 行新增428 行删除

查看文件

@@ -1,36 +1,43 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
# Frontend (Next.js)
## Getting Started
First, run the development server:
## 开发
```bash
npm ci
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
默认访问:`http://localhost:3000`
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
## 构建
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
```bash
npm run lint
npm run build
npm run start
```
## Learn More
## 环境变量
To learn more about Next.js, take a look at the following resources:
- `NEXT_PUBLIC_API_BASE`:浏览器访问后端 API 的基地址。
- 开发默认:`http://localhost:8080`
- Docker/生产推荐:`/admin139`
- `BACKEND_INTERNAL_URL`Next.js 反向代理后端目标(服务端)
- Docker 默认:`http://backend:8080`
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
## 页面
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
- `/auth` 登录/注册
- `/problems` 题库列表
- `/problems/:id` 题目详情与提交
- `/submissions` 提交列表
- `/submissions/:id` 提交详情
- `/wrong-book` 错题本
- `/contests` 模拟竞赛列表
- `/contests/:id` 比赛详情/报名/排行榜
- `/kb` 知识库列表
- `/kb/:slug` 文章详情
- `/imports` 题库导入任务状态与结果
- `/run` 在线 C++ 运行
- `/me` 当前用户信息
- `/leaderboard` 全站排行