perditions-league

byHello Mcdonald

2026 perditions league with invites, match picks, live standings, reminders and leaderboard

LandingLeaguesInviteStandingsMatch PicksLoginSign Up
Landing

Comments (0)

No comments yet. Be the first!

Architecture

Perditions League Service Networkv15
Storage
backend: FastAPI
frontend: React App
Client
get_current_user
get_current_user
startup: asyncio background loop
MariaDB database
User, Admin, Match, Pick, Standing,
League, Membership, Invite, Reminder
FastAPI Server
auth routes
/api/auth/register, /api/auth/login
health route
/health
standings route (public)
/api/standings,
/api/standings/leagues/{id}/leaderboard
picks routes (JWT required)
/api/picks/matches, /api/picks/{match_id}
leagues routes (JWT required)
/api/leagues, /api/leagues/{id}/invites,
/api/leagues/{id}/invites/{id}/retry-delivery,
/api/invites/pending, /api/invites/{id}/accept
security.py
JWT (jose) + bcrypt (passlib)
reminders.py
Periodic reminder automation
(evaluate_and_dispatch_reminders,
retry_failed_reminders)
AppRoutes
Pages: Landing, Login, SignUp,
Leagues, Invite, MatchPicks, Standings
AuthContext
ThemeContext
services: api.js / authService.js
InviteHazardBand, LeaguesHazardBand,
LoginHazardBand, SignUpHazardBand,
MatchPicksHazardBand, StandingsHazardBand
Browser
Live
Landing design preview
Landing: Read league features
Landing: Start a league
Sign Up: 1. Submit enrollment
Sign Up: 2. Correct invalid input
Login: Sign in instead
Leagues: 1. Create league
Leagues: 2. Retry league creation
Leagues: 1. Compose player invite
Leagues: 2. Retry invite delivery
Leagues: Track invite status
Match Picks: Set match picks
Standings: 1. View live standings
Standings: 2. Switch to leaderboard
Standings: 3. Retry standings fetch
Live
Landing design preview
Landing: Read league features
Landing: Start a league
Sign Up: 1. Submit enrollment
Sign Up: 2. Correct invalid input
Login: Sign in instead
Leagues: 1. Create league
Leagues: 2. Retry league creation
Leagues: 1. Compose player invite
Leagues: 2. Retry invite delivery
Leagues: Track invite status
Match Picks: Set match picks
Standings: 1. View live standings
Standings: 2. Switch to leaderboard
Standings: 3. Retry standings fetch