1
1
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2025-10-22 10:23:12 +00:00
dependabot[bot] 991d25ff15
Bump @opentelemetry/auto-instrumentations-node from 0.59.0 to 0.65.0
Bumps [@opentelemetry/auto-instrumentations-node](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/HEAD/packages/auto-instrumentations-node) from 0.59.0 to 0.65.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/packages/auto-instrumentations-node/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/commits/auto-instrumentations-node-v0.65.0/packages/auto-instrumentations-node)

---
updated-dependencies:
- dependency-name: "@opentelemetry/auto-instrumentations-node"
  dependency-version: 0.65.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 14:00:08 +00:00
2025-10-02 12:07:50 +08:00
2025-10-06 10:49:48 +08:00
2025-10-03 21:22:18 +08:00
2025-10-07 14:46:53 +08:00
2025-10-02 12:07:50 +08:00
2025-10-03 21:22:18 +08:00
2025-10-03 21:22:18 +08:00
2025-10-06 11:10:54 +08:00
2025-10-06 11:10:54 +08:00
2025-10-07 14:46:53 +08:00

Classworks KV

Classworks用于班级大屏的作业板小工具

ClassworksKV 是 Classworks 的后端实现这是一个KV存储服务用于存储和查询数据信息如作业、花名册等也可以用于其他用途。

此项目由厚浪云提供,访问公开实例零配置使用 Classworks

通过雨云一键部署

文档

Classworks 文档

许可证

This project is licensed under the GNU AGPL v3.0.

Copyright (C) 2025 Sunwuyuan (https://wuyuan.dev) See LICENSE for details.

配置OAuth / JWT

在根目录创建或编辑 .env

  • 基础地址(用于回调):

    • BASE_URL: http://localhost:3030
    • FRONTEND_URL: http://localhost:5173
  • STCNCasdoorOIDC

    • STCN_CLIENT_ID: 53e65cfd81232e729730
    • STCN_CLIENT_SECRET: e1b1277f8906e5df162b1d2f2eb3692182dd2920
    • 回调地址:${BASE_URL}/accounts/oauth/stcn/callback
  • 其他可选提供者GitHub、ZeroCat、厚浪云Logto

  • JWT

    • 默认 HS256提供 JWT_SECRET
    • 如需 RS256请设置
      • JWT_ALG=RS256
      • JWT_PRIVATE_KEYPEM\n 转义)
      • JWT_PUBLIC_KEYPEM\n 转义)
      • JWT_EXPIRES_IN=7d

完成后启动服务并访问:

  • GET /accounts/oauth/providers 列出可用登录方式
  • 浏览器打开 /accounts/oauth/stcn 发起 STCN 登录
Description
作业板后端服务器
Readme AGPL-3.0 2.2 MiB
Languages
JavaScript 90.6%
HTML 8.7%
Dockerfile 0.3%
EJS 0.3%