A restful API for repair service https://api.nbtca.space/docs
  • Go 93.4%
  • PLpgSQL 6.5%
  • Dockerfile 0.1%
Find a file
2026-04-02 23:24:43 +08:00
.circleci save 2025-04-14 18:59:26 +08:00
.github/workflows fix deploy pipeline 2025-09-18 23:00:27 +08:00
.vscode add export events (#189) 2025-05-10 16:05:37 +08:00
assets Update sql 2023-11-11 23:08:45 +08:00
docs add filter for events 2022-10-17 22:34:50 +08:00
middleware fix auth 2026-04-02 23:24:43 +08:00
migrations fix: update member_view to include notification_preferences column 2025-11-23 08:12:43 +00:00
model chore: apply go fmt formatting to modified files 2025-11-23 07:47:37 +00:00
repo Add client email notifications for event lifecycle 2025-11-27 23:04:08 +08:00
router Add metadata sheet to Excel export with export information 2025-12-08 23:53:29 +00:00
service Reorder Excel sheets: 工时汇总, 事件明细, 导出信息 2025-12-10 13:25:53 +00:00
util Add client email notifications for event lifecycle 2025-11-27 23:04:08 +08:00
.gitignore 添加了workflow_dispatch手动触发器 2023-01-26 22:55:46 +08:00
CLAUDE.md Update CLAUDE.md with Huma v2 architecture details 2025-06-29 20:16:47 +08:00
config.example.json feat: add configurable email notification preferences for members 2025-11-23 07:46:20 +00:00
docker-compose.yaml Merge branch 'dev' into huma 2024-08-12 22:25:39 +08:00
Dockerfile fix dockerfile 2025-05-24 12:41:19 +08:00
go.mod Bump github.com/docker/cli 2026-03-26 05:25:38 +00:00
go.sum Bump github.com/docker/cli 2026-03-26 05:25:38 +00:00
LICENSE Create LICENSE 2022-06-11 13:40:47 +08:00
main.go fix init github client 2025-10-18 10:14:08 +08:00
readme.md save 2025-05-18 13:37:34 +08:00

Saturday

A restful API for nbtca repair service.

Related projects:

Configuration

Key Description
DB_DATASOURCE PostgreSQL connection string
ALIYUN_ACCESS_KEY_ID Aliyun access key ID
ALIYUN_ACCESS_KEY_SECRET Aliyun access key secret
WECHAT_APPID WeChat app ID
WECHAT_SECRET WeChat secret
MAIL_HOST SMTP server host
MAIL_PORT SMTP port (e.g., 465)
MAIL_USERNAME SMTP username
MAIL_PASSWORD SMTP password
TESTING_MAIL_RECEIVER_ADDRESS Mail receiver used for testing (optional)
LOGTO_APPID Logto app ID
LOGTO_APP_SECRET Logto app secret
LOGTO_ENDPOINT Logto endpoint URL
TESTING_LOGTO_USER_ID Logto test user ID (optional)
GITHUB_OWNER GitHub repo owner
GITHUB_REPO GitHub repository name
GITHUB_TOKEN GitHub personal access token
GITHUB_WEBHOOK_SECRET GitHub webhook signing secret
DIFY_API_ENDPOINT Dify API base URL
DIFY_API_KEY Dify API key
NSQ_HOST NSQ daemon host and port
NSQ_SECRET NSQ secret (optional)
NSQ_EVENT_TOPIC NSQ event topic name
NSQ_LOG_TOPIC NSQ log topic name
SERVER_PORT API server listen port

Consul

You can also use consul to manage the configuration. The configuration will be loaded from Consul if the CONSUL_HTTP_ADDR and CONSUL_HTTP_TOKEN are set. The key will be used as the prefix for the configuration keys.

Key Description
CONSUL_HTTP_ADDR Consul address
CONSUL_HTTP_TOKEN Consul token
CONSUL_KEY Consul key