mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-10-23 17:18:32 +02:00
2.2 KiB
2.2 KiB
Wownerogue Development Todo
High Priority
- Verify Server Startup: Server starts cleanly with
npm run dev✅ - Test Payment Flow: Verify the full payment lifecycle (Request -> QR -> Payment -> Confirmation -> Game Start).
- Test Payouts: Confirm payouts are triggered correctly upon winning in paid modes.
- Address Persistence: Verify that payout addresses persist across server restarts via session tokens. ✅
- Mixed Mode Logic: Per-user mode determination based on credits balance ✅
- Credits Package Bug: Credits correctly parsed from package info on confirmation ✅
Improvements / Refactoring
- Error Handling: Extend
normalizeErrorusage to remaining network modules for consistent error reporting. - Configuration Persistence: Implement persistence for payment configuration updates to support hot reloads.
- Monitoring Dashboard: Build a lightweight dashboard for live metrics (active games, queue length, rate limits).
- Frontend Cleanup: Remove any remaining dead code or unused assets from the
html/directory.
Documentation
- API Documentation: README updated with accurate API surface including health check and Socket.IO events ✅
- Session Persistence: README documents session token behavior and localStorage requirements ✅
- Deployment Guide: Create a detailed deployment guide including reverse proxy setup (Nginx/Caddy).
Pre-Beta Checklist
- All 38 tests pass (8 test suites) ✅
- Health check endpoint available at
/health✅ - REST endpoints implemented:
/api/user/:socketId/credits,/api/user/:socketId/mode,/api/user/:socketId/address✅ - Payout eligibility shown per payment mode in UI ✅
- Session persistence tooltip and localStorage warning added ✅
- TLS/HTTPS: Configure reverse proxy (Nginx/Caddy) with SSL certificates before exposing to real users.
- Database Backups: Implement automated backup strategy for PostgreSQL.
- Manual Integration Test: Run full payment flow with real
wownero-wallet-rpc(not mocked). - Rate Limit Tuning: Review rate limits for production traffic patterns.
- Log Rotation: Ensure logs don't fill disk in production.