{"id":26045070,"url":"https://github.com/xerrors/miniquiz","last_synced_at":"2026-04-16T21:35:20.566Z","repository":{"id":280726448,"uuid":"942961008","full_name":"xerrors/MiniQuiz","owner":"xerrors","description":"这是一个基于Flask和Vue.js开发的教育领域知识答题/考试平台，适用于课程测验、知识竞赛或自我学习评估。系统提供了完整的答题流程，包括用户认证、随机出题、自动评分和答题记录查询等功能","archived":false,"fork":false,"pushed_at":"2025-03-05T00:55:36.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T01:31:57.526Z","etag":null,"topics":["flask","quiz","vuejs"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xerrors.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-05T00:40:54.000Z","updated_at":"2025-03-05T00:56:36.000Z","dependencies_parsed_at":"2025-03-05T04:30:50.662Z","dependency_job_id":null,"html_url":"https://github.com/xerrors/MiniQuiz","commit_stats":null,"previous_names":["xerrors/miniquiz"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerrors%2FMiniQuiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerrors%2FMiniQuiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerrors%2FMiniQuiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerrors%2FMiniQuiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xerrors","download_url":"https://codeload.github.com/xerrors/MiniQuiz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242451173,"owners_count":20130341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","quiz","vuejs"],"created_at":"2025-03-07T19:31:07.013Z","updated_at":"2025-12-06T21:00:58.593Z","avatar_url":"https://github.com/xerrors.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 知识答题平台\n\n这是一个面向教育领域的知识答题/考试平台，可用于课程测验、知识竞赛或自我学习评估。系统支持多选题、单选题等题型，并提供答题记录和成绩统计功能。\n\n## 功能特点\n\n- 用户认证：学生登录系统进行答题\n- 随机出题：从题库中随机抽取题目\n- 答题评分：自动计算得分并记录\n- 历史记录：查看历史答题记录\n- 管理功能：管理员可查看所有用户的答题情况\n\n## 项目结构\n\n```\n├── server/           # 后端服务器代码\n│   ├── app.py        # Flask应用主程序\n│   └── setup_db.py   # 数据库初始化脚本\n├── web/              # 前端代码\n│   ├── src/          # Vue源代码\n│   └── public/       # 静态资源\n└── data/             # 数据文件\n    ├── questions.csv.example  # 题库示例\n    └── user.csv     # 用户数据\n```\n\n## 预览\n\n![image](https://github.com/user-attachments/assets/79e95ed8-866a-4437-80c8-1ac183dad545)\n\n![image](https://github.com/user-attachments/assets/d439074f-ec27-4a8a-9e5c-19a3d90cd5a7)\n\n![image](https://github.com/user-attachments/assets/d759f138-d01e-4cf9-b6df-5db86faf0aa2)\n\n\n\n\n\n## 安装与运行\n\n### 前提条件\n\n- Python 3.6+\n- Node.js 14+\n- npm 或 yarn\n\n## 数据格式\n\n### 题库格式\n\n题库使用CSV格式（保存为 aigc.json），示例位于 `data/questions.csv.example`。CSV文件应包含以下列：“序号,题目,A,B,C,D,答案”\n\n```csv\n序号,题目,A,B,C,D,答案\n1,AIGC的英文全称是什么？,Artificial Intelligence Generated Content,Automated Intelligence Graphic Creation,Advanced Intelligent Generated Content,Algorithmic Image Generation Creation,A\n2,下列哪个不属于AIGC的应用领域？,文本生成,图像生成,音乐创作,半导体制造,D\n3,ChatGPT是基于哪种AI模型架构开发的？,CNN（卷积神经网络）,RNN（循环神经网络）,Transformer,GAN（生成对抗网络）,C\n4,以下哪个不是知名的AI图像生成模型？,DALL-E,Midjourney,Stable Diffusion,AlexNet,D\n5,大语言模型（LLM）主要用于处理什么类型的任务？,图像识别,语音识别,自然语言处理,视频编辑,C\n6,\"AIGC技术中的\"\"提示工程\"\"（Prompt Engineering）是指什么？\",设计电脑硬件的技术,编写能引导AI生成特定输出的提示语的技术,提示用户完成任务的界面设计,加速AI模型训练的技术,B\n7,下列哪项不是生成式AI面临的主要挑战？,版权问题,内容真实性,伦理考量,硬件兼容性,D\n```\n\n### 用户数据\n\n用户数据位于 `data/user.csv`，包含用户ID、密码、姓名、角色和班级信息。\n\n```csv\nS1001,pass1,张三,student,一班\nT1002,pass2,李老师,admin,教工\n```\n\n### 1. 后端设置\n\n```bash\n# 进入后端目录\ncd server\n\n# 安装依赖\npip install flask flask_cors pandas\n\n# 初始化数据库（首次运行需要），务必先配置好用户数据和题目格式。\npython setup_db.py\n\n# 启动Flask服务器\nflask run\n```\n\n服务器将在 http://localhost:5000 上运行。\n\n### 2. 前端设置\n\n```bash\n# 进入前端目录\ncd web\n\n# 安装依赖\nnpm install\n\n# 启动开发服务器\nnpm run server\n```\n\n前端应用将在 http://localhost:5173 上运行。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerrors%2Fminiquiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxerrors%2Fminiquiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerrors%2Fminiquiz/lists"}