docs: update documentation with recent features
- Update README.md with tier system and recent features - Add 3-tier account system (BASIC/SUPPORTER/COMFORT) to docs - Document fairness algorithm and dual buffer system - Add clickable usernames and country flags features - Update test count to 285/286 passing (99.7%) - Update database schema documentation with tier fields - Update all last modified dates to 2025-11-29
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
## Current Status
|
||||
|
||||
**Phase:** MVP Complete - Ready for Production Deployment
|
||||
**Tests:** 286/286 backend tests passing (73% coverage)
|
||||
**Tests:** 285/286 backend tests passing - 99.7% (73% coverage)
|
||||
**Next Goal:** Infrastructure setup (server, domain, SSL)
|
||||
|
||||
### Core Features (All Implemented)
|
||||
@@ -24,11 +24,15 @@
|
||||
- Real-time chat (Socket.IO) - event rooms + private 1:1
|
||||
- WebRTC P2P file transfer (RTCDataChannel, up to 700MB tested)
|
||||
- Competition heats system for matchmaking
|
||||
- Recording matching system (auto-assign recorders)
|
||||
- Recording matching system with 3-tier account system (BASIC/SUPPORTER/COMFORT)
|
||||
- Fairness algorithm (karma tracking: recordingsDone vs recordingsReceived)
|
||||
- Dual buffer system (prep before + rest after dancing)
|
||||
- Clickable usernames with @ prefix, country flags
|
||||
- Matches & ratings API
|
||||
- QR code event check-in
|
||||
- PWA (offline support, iOS compatible)
|
||||
- Security: CSRF, rate limiting, account lockout
|
||||
- Test bot for automated testing
|
||||
|
||||
---
|
||||
|
||||
@@ -63,12 +67,13 @@
|
||||
|
||||
Key models:
|
||||
- `users` - Auth, profile, social links, location, lockout fields
|
||||
- Account tiers: `accountTier` (BASIC/SUPPORTER/COMFORT), `recordingsDone`, `recordingsReceived`
|
||||
- `events` - Dance events with unique slugs
|
||||
- `event_participants` - User-event relationship, competitorNumber
|
||||
- `event_participants` - User-event relationship, competitorNumber, recorderOptOut, `accountTierOverride`
|
||||
- `divisions` / `competition_types` / `event_user_heats` - Competition system
|
||||
- `matches` - User pairings with CUID slugs
|
||||
- `ratings` - 1-5 stars, comments
|
||||
- `recording_suggestions` - Auto-matching results
|
||||
- `recording_suggestions` - Auto-matching results with collision detection
|
||||
- `chat_rooms` / `messages` - Real-time chat persistence
|
||||
|
||||
---
|
||||
@@ -107,6 +112,11 @@ docker compose exec backend npm test
|
||||
MATCH_STATUS: pending | accepted | rejected | completed
|
||||
SUGGESTION_STATUS: pending | accepted | rejected | not_found
|
||||
CONNECTION_STATE: disconnected | connecting | connected | failed
|
||||
ACCOUNT_TIER: BASIC | SUPPORTER | COMFORT
|
||||
|
||||
// Tier fairness penalties
|
||||
FAIRNESS_SUPPORTER_PENALTY: 10
|
||||
FAIRNESS_COMFORT_PENALTY: 50
|
||||
```
|
||||
|
||||
---
|
||||
@@ -129,4 +139,4 @@ CONNECTION_STATE: disconnected | connecting | connected | failed
|
||||
|
||||
---
|
||||
|
||||
**Last Updated:** 2025-11-23
|
||||
**Last Updated:** 2025-11-29
|
||||
|
||||
Reference in New Issue
Block a user