Go to file
kyuuseiryuu 596fc4b1c8 feat(firebase): add WeChat compatibility and improve notification stability
- Detect WeChat browser environment in frontend and render WechatGuid component
  instead of the standard App to ensure correct functionality within WeChat.
- Asynchronously initialize Firebase Messaging and App to prevent blocking
  and handle environment support checks properly.
- Wrap Service Worker initialization in try-catch to prevent startup errors
  from breaking the service worker registration.
- Add detailed logging for token auto-update logic to assist with debugging.
- Ensure Firebase token generation only proceeds if the environment supports
  notifications.
2026-03-27 23:59:00 +09:00
__test__ refactor(service, routes, types): extract match summary and link to club 2026-03-25 23:20:33 +09:00
.vscode feat(global): find user 2026-02-10 11:11:08 +09:00
assets feat(app): add push notification support and event management logic 2026-03-24 17:21:50 +09:00
prisma feat(app): add push notification support and event management logic 2026-03-24 17:21:50 +09:00
src feat(firebase): add WeChat compatibility and improve notification stability 2026-03-27 23:59:00 +09:00
.env.example feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
.gitignore chore: add .continue directory to gitignore 2026-03-24 21:11:49 +09:00
bun-env.d.ts init 2026-01-29 22:00:49 +09:00
bun.lock feature: logger 2026-03-26 17:40:44 +09:00
bunfig.toml init 2026-01-29 22:00:49 +09:00
docker-compose.yml chore(docker): mount local time and timezone to container 2026-03-24 20:26:14 +09:00
dockerfile chore(docker): switch base image to dhi.io/bun:1-debian13-dev 2026-03-25 01:17:25 +09:00
package.json feature: logger 2026-03-26 17:40:44 +09:00
prisma.config.ts feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
README.md chore(README): update readme 2026-03-26 20:06:40 +09:00
tsconfig.json refactor(global): import alias @ 2026-03-26 15:54:42 +09:00

My-Kaiqiuwang

To install dependencies:

bun install

To start a development server:

bun dev

To run for production:

bun start

This project was created using bun init in bun v1.2.21. Bun is a fast all-in-one JavaScript runtime.

Database

Prisma

设计阶段

bun --env-file=.env.development prisma db push

开发阶段, 生成代码

bun --env-file=.env.development prisma generate

在开发环境生成 migration 文件

bun --env-file=.env.development prisma migrate dev --name=<name>

同步到测试环境,跑测试用例用(如果需要的话)

bun --env-file=.env.test prisma migrate deploy