Go to file
kyuuseiryuu 94b82ba919 feat: refactor websocket notifications and service caching
Refactor the application to implement native browser push notifications and remove unnecessary Redis caching for performance optimization.

Key changes:
- Introduce a dedicated server topic 'SERVER_PUSH' to handle push notification messages via WebSocket.
- Implement a Service Worker (sw.ts) to capture push events and display system-level notifications, replacing the previous Ant Design toast usage for server messages.
- Add a "Notification Permission" button in the User Center to allow users to request push notification rights.
- Remove Redis caching logic from KaiqiuService (event lists, match details, and member details) to ensure real-time data accuracy, as the cache was causing latency in updates.
- Clean up WebSocket service subscription logic to focus on user-specific events.

This shift from UI-only notifications to system push notifications improves visibility for critical server events (like match updates) even when the user is not on the active tab. Additionally, removing the cache simplifies the codebase and ensures the latest match data is always fetched.
2026-03-23 19:13:39 +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: refactor websocket notifications and service caching 2026-03-23 19:13:39 +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: refactor websocket notifications and service caching 2026-03-23 19:13:39 +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: refactor websocket notifications and service caching 2026-03-23 19:13:39 +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.