How stivencr7/frontend-desplieguerobotech works
This is a Spanish-language RoboTech tournament-management frontend. Users browse tournaments, news, rankings and standings; club representatives manage club competitors and register robots, while administrators manage tournaments, workers and news, and verifiers review submissions. The React router is the entry point for these workflows; an Axios client connects screens to the remote API, and token context plus role-based routes protect selected areas. The README is only a Vite template, so product capabilities are inferred from the route and component inventory. Unsampled screens are included, but their internal behavior and links are not assumed.
Main entry points: main.jsx Route application · api.jsx HTTP API client · login.jsx Login and signup · CrearEventos .jsx Tournament setup
Components 27
App and access
- Route application
src/main.jsx - Login and signup
src/components/login.jsx - Token context
src/services/AuthContextToken.jsx - Role guard
src/services/PrivateRoute.jsx
Public competition
- Home
src/components/Inicio.jsx - Public news
src/components/Noticias.jsx - Rankings
src/components/Ranking.jsx - Public standings
src/components/PosicionesInvi.jsx
Club management
- Club navigation
src/components/header_club.jsx - Club profile
src/components/ventanaRepClub.jsx - Competitions and robots
src/components/Competencias.jsx - Categories
src/components/Categorias.jsx
Tournament operations
- Admin navigation
src/components/headeradmin.jsx - Tournament setup
src/components/CrearEventos .jsx - News administration
src/components/Noticias_Admin.jsx - Worker management
src/components/trabajadores.jsx - Worker profile
src/components/VentanaTrabajadores.jsx - Verification navigation
src/components/headervalidacion.jsx - Club requests
src/components/ventanaSolicitudes.jsx - Competitor requests
src/components/ventanaSolicitudes_Competidor.jsx - Robot requests
src/components/ventanaSolicitudes_Robot.jsx - Results navigation
src/components/headerG_Resultados.jsx - Results standings
src/components/Posiciones.jsx
API and services
- HTTP API client
src/api.jsx - Worker API services
src/services/TrabajadoresServices.jsx
Other components
- Visitor or staff
- Tournament backend
Connections 39
- Visitor or staff → Route application: opens app
src/main.jsx - Route application → Login and signup: routes to
src/main.jsx - Route application → Home: routes to
src/main.jsx - Route application → Public news: routes to
src/main.jsx - Route application → Rankings: routes to
src/main.jsx - Route application → Public standings: routes to
src/main.jsx - Route application → Competitions and robots: routes to
src/main.jsx - Route application → Club profile: routes to
src/main.jsx - Route application → Tournament setup: routes to
src/main.jsx - Route application → News administration: routes to
src/main.jsx - Route application → Worker management: routes to
src/main.jsx - Route application → Worker profile: routes to
src/main.jsx - Route application → Club requests: routes to
src/main.jsx - Route application → Competitor requests: routes to
src/main.jsx - Route application → Robot requests: routes to
src/main.jsx - Route application → Results standings: routes to
src/main.jsx - Route application → Token context: wraps app
src/main.jsx - Route application → Role guard: protects routes
src/main.jsx - Login and signup → HTTP API client: sends login
src/components/login.jsx - Login and signup → Token context: saves token
src/components/login.jsx - Role guard → Token context: checks access
src/services/PrivateRoute.jsx - Home → HTTP API client: loads content
src/components/Inicio.jsx - Public news → HTTP API client: loads news
src/components/Noticias.jsx - Rankings → HTTP API client: loads ranking
src/components/Ranking.jsx - Public standings → HTTP API client: loads standings
src/components/PosicionesInvi.jsx - Club navigation → HTTP API client: loads tournaments
src/components/header_club.jsx - Club navigation → Competitions and robots: navigates to
src/components/header_club.jsx - Club profile → HTTP API client: loads club data
src/components/ventanaRepClub.jsx - Competitions and robots → HTTP API client: loads and registers
src/components/Competencias.jsx - Tournament setup → HTTP API client: manages events
src/components/CrearEventos .jsx - Tournament setup → Tournament backend: generates encounters
src/components/CrearEventos .jsx - Worker management → Worker API services: manages workers
src/components/trabajadores.jsx - Worker API services → HTTP API client: sends requests
src/services/TrabajadoresServices.jsx - News administration → HTTP API client: manages news
src/components/Noticias_Admin.jsx - Club requests → HTTP API client: reviews requests
src/components/ventanaSolicitudes.jsx - Competitor requests → HTTP API client: reviews requests
src/components/ventanaSolicitudes_Competidor.jsx - Robot requests → HTTP API client: reviews requests
src/components/ventanaSolicitudes_Robot.jsx - Results standings → HTTP API client: loads results
src/components/Posiciones.jsx - HTTP API client → Tournament backend: sends HTTP
src/api.jsx