How esmogg/starleague works
StarLeague is a modular sports, mental-sports, and esports tournament-management web platform. Its visible workflows cover account registration and login, team creation, tournament creation and browsing, and participant registration; tournament creation and enrollment are distinct stages. The sampled code shows browser forms calling PHP endpoints, with tournament and team endpoints using MySQL access. Some listed capabilities—especially login, team search, and tournament display—are represented in the tree but their implementation was not sampled, so their internal links are omitted where unverified.
Main entry points: conexion.php MySQL connection · crear_equipos.php Team creation endpoint · crear_torneos.php Tournament creation endpoint · crear-torneos.js Tournament creation
Components 23
Web interface
- Login pages
html/nologin/usuario - Registration page
html/nologin/usuario/register.html - Team pages
html/login/equipos - Tournament pages
html/login/torneos - Public tournament pages
html/nologin/torneos - Shared UI behavior
js/script.js
Accounts
- Login handler
php/auth/login.php - Registration client
js/usuario/register.js - User registration
php/auth/crear_usuario.php
Teams
- Team creation
js/equipos/crear-equipos.js - Team search
js/equipos/buscar-equipos.js - Team creation endpoint
php/equipos/crear_equipos.php
Tournaments
- Tournament catalogs
js/torneos/catalogos.js - Tournament creation
js/torneos/crear-torneos.js - Tournament creation endpoint
php/torneos/crear_torneos.php - Tournament browsing
js/torneos/ver-torneos.js - Tournament display
js/torneos/mostrar.js - Tournament listing endpoint
php/torneos/obtener_torneos.php - Participant candidates
php/torneos/obtener_candidatos.php - Tournament enrollment
php/torneos/procesar_inscripcion.php
Persistence
- MySQL schema
database/starleague_BD.sql - MySQL connection
php/conexion.php
Other components
- User
Connections 16
- User → Login pages: uses
README.md - User → Registration page: uses
README.md - User → Team pages: manages teams
README.md - User → Tournament pages: manages tournaments
README.md - User → Public tournament pages: browses tournaments
README.md - Registration client → User registration: posts JSON
js/usuario/register.js - Team creation → Team creation endpoint: posts form data
js/equipos/crear-equipos.js - Team creation endpoint → MySQL connection: includes
php/equipos/crear_equipos.php - Tournament creation → Tournament catalogs: reads catalogs
js/torneos/crear-torneos.js - Tournament creation → Tournament creation endpoint: posts tournament
js/torneos/crear-torneos.js - Tournament creation endpoint → MySQL connection: includes
php/torneos/crear_torneos.php - Tournament creation endpoint → MySQL schema: writes tournament
- Team creation endpoint → MySQL schema: writes team
- Tournament enrollment → MySQL connection: requires
php/torneos/procesar_inscripcion.php - Tournament listing endpoint → MySQL connection: requires
php/torneos/obtener_torneos.php - Participant candidates → MySQL connection: requires
php/torneos/obtener_candidatos.php