Files
CheckInApp/README.md
T
2026-01-03 19:45:21 +08:00

1.6 KiB

CheckIn App V2

FastAPI Vue 3 Python

接龙自动打卡系统,通过 QQ 登录实现每日自动考勤提交。

特性

  • QQ 扫码登录
  • 用户任务分离(一人多任务)
  • 任务模板系统
  • 定时自动打卡
  • 邮件通知
  • 用户审批机制
  • 管理后台

技术栈

后端: FastAPI + SQLAlchemy + APScheduler + Selenium
前端: Vue 3 + Ant Design Vue + Pinia
数据库: SQLite

快速开始

环境要求

  • Python 3.9+
  • Node.js 16+
  • Chrome 浏览器

安装运行

# 后端
python -m venv venv
venv\Scripts\activate  # Windows
source venv/bin/activate  # Linux/Mac
pip install -r backend/requirements.txt
python3 run.py

# 前端
cd frontend
npm install
npm run dev

# 创建管理员
python backend/scripts/create_admin.py

访问地址

进程管理

# Windows
manage.bat start [all/backend/fronted]
manage.bat stop [all/backend/fronted]
manage.bat status

# Linux/Mac
./manage.sh start [all/backend/fronted]
./manage.sh stop [all/backend/fronted]
./manage.sh status

配置

复制 .env.example.env

nginx 与 systemd 的配置文件参考已给出,见 .example

文档