feat: build CoffeeChat mini program and backend
CI / test (push) Has been cancelled

This commit is contained in:
2026-09-21 03:38:09 +08:00
commit 5a156b2d87
101 changed files with 3752 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# CoffeeChat
面向会展现场社交的微信小程序。用户通过微信登录后,可浏览和筛选活动、查看会展信息、加入活动、填写参与目的,并在管理员审核后查看活动微信群。
## 目录
- `miniprogram/`:原生微信小程序
- `server/`:Node.js API、管理后台和数据库迁移
- `deploy/`:Docker Compose 生产部署
- `.gitea/workflows/`:Gitea Actions 测试及部署
- `docs/`:接口、配置和上线说明
## 本地启动
1. 复制 `.env.example` 为 `.env`,填写微信 AppSecret 和安全密钥。
2. 执行 `docker compose -f deploy/docker-compose.yml up --build`。
3. 将 `miniprogram/config.js` 中的 `apiBaseUrl` 改为已加入微信后台 request 合法域名的 HTTPS 地址。
4. 使用微信开发者工具打开仓库根目录。
管理后台位于 `https://你的域名/admin/`,登录凭据为环境变量 `ADMIN_TOKEN`。
完整部署及微信平台配置见 [docs/deployment.md](docs/deployment.md)。