How dzx123-xc/sports-hub works
SConnect is a multi-role sports networking platform. Its principal workflow is session-based sign-in, role-specific dashboard access, profile maintenance and discovery or interaction with other sports participants. The README also names matching, connections, messaging, trials, tournaments, matches, notifications, reporting and administration; these are represented as product capabilities, though their individual routes and call paths are not established by the sampled excerpts. The browser client calls the server API, and the server uses the database layer. Several feature relationships remain unverified because the server and client excerpts are partial.
Main entry points: server.py HTTP API and pages · player-dashboard.html Role dashboards · index.html Public entry · auth-guard.js Role access guard
Components 16
User experience
- Public entry
index.html - Role dashboards
player-dashboard.html - Dashboard rendering
dashboard.js
Identity and profiles
- Role access guard
auth-guard.js - Identity synchronization
identity-sync.js - Profile editing
profile-editor.js - Registration and sign-in
app.js
Sports networking
- Discovery and matching
app.js - Connections and messaging
app.js - Trials
app.js - Tournaments and matches
app.js - Notifications and reporting
app.js - Match scoring
server.py
Platform services
- HTTP API and pages
server.py - Database access and schema
database.py
Other components
- Sports participants
Connections 18
- Sports participants → Public entry: opens
README.md - Sports participants → Role dashboards: uses
- Role dashboards → Role access guard: checks access
auth-guard.js - Role access guard → HTTP API and pages: requests identity
auth-guard.js - Role dashboards → Identity synchronization: synchronizes identity
identity-sync.js - Identity synchronization → HTTP API and pages: requests identity
identity-sync.js - Role dashboards → Dashboard rendering: renders
- Role dashboards → Profile editing: offers editing
profile-editor.js - Profile editing → HTTP API and pages: updates profile
profile-editor.js - Public entry → Registration and sign-in: provides sign-in
- Registration and sign-in → HTTP API and pages: requests identity
app.js - Discovery and matching → HTTP API and pages: requests matches
app.js - HTTP API and pages → Match scoring: scores candidates
server.py - HTTP API and pages → Database access and schema: reads and writes
server.py - Connections and messaging → HTTP API and pages: uses features
- Trials → HTTP API and pages: uses features
- Tournaments and matches → HTTP API and pages: uses features
- Notifications and reporting → HTTP API and pages: uses features