Go to file
kyuuseiryuu 0c82384fd5 feat(api & services): add error handling for club summary and refresh match details
- Add `.catch(() => null)` in `ClubSummary.tsx` to gracefully handle failed API requests and prevent UI crashes.
- Return `null` from `ClubSummary` when the club data is `null` to skip rendering during errors.
- Extract `getMatchInfo` logic into a new static method `getMatchDetail` within `KaiqiuService` for better separation of concerns.
- Update `getClubLocation` and `getEventInfo` to accept an optional `force` parameter, allowing cache bypass when network errors (like '连接超时') occur.
- Remove the old `getMatchInfo` utility function from `server.ts` and update the `/api/match` route to use `KaiqiuService.getMatchDetail`.
2026-03-23 14:33:12 +09:00
__test__ feat(api): add user location management endpoints and database model 2026-03-19 00:29:02 +09:00
.vscode feat(global): find user 2026-02-10 11:11:08 +09:00
prisma feat(api): add user location management endpoints and database model 2026-03-19 00:29:02 +09:00
src feat(api & services): add error handling for club summary and refresh match details 2026-03-23 14:33:12 +09:00
.env.example feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
.gitignore feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
bun-env.d.ts init 2026-01-29 22:00:49 +09:00
bun.lock feat(api): add user location management endpoints and database model 2026-03-19 00:29:02 +09:00
bunfig.toml init 2026-01-29 22:00:49 +09:00
docker-compose.yml chore(docker): add restart policy for app service 2026-02-10 21:21:11 +09:00
dockerfile chore: refactor dockerfile for prisma migration and build optimization 2026-03-18 01:39:54 +09:00
package.json feat(api): add user location management endpoints and database model 2026-03-19 00:29:02 +09:00
prisma.config.ts feat: implement user favorite player system with Logto sync 2026-03-09 10:16:27 +09:00
README.md init 2026-01-29 22:00:49 +09:00
tsconfig.json init 2026-01-29 22:00:49 +09:00

bun-react-template

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.