How uniqueseaweb/reactapp works
This repository is a static launcher for four separate React apps: ToDo, a 3D solar-system viewer, a 3D action game, and a futsal tournament manager. The futsal workflow runs from tournament creation and shared access through team and match management to schedules and rankings; tournament state is fetched and changed through an API backed by Supabase or a local demo mode. The other apps have independent entry points and runtime behavior. Edges reflect README statements or shown imports and calls; unsampled details are omitted.
Main entry points: FutsalApp.jsx Tournament router · Game.js Game engine · index.html App links · main.jsx Tournament entry
Components 33
App launcher
- App links
index.html
Tournament manager
- Tournament entry
src/futsal/main.jsx - Tournament router
src/futsal/FutsalApp.jsx - Tournament data
src/futsal/hooks.js - RPC client
src/futsal/api.js - Demo storage
src/futsal/demoBackend.js - Supabase RPC
supabase/schema.sql - Tournament creation
src/futsal/views/Home.jsx - Schedule view
src/futsal/views/ScheduleView.jsx - Match details
src/futsal/views/MatchView.jsx - Team members
src/futsal/views/TeamsView.jsx - Tournament admin
src/futsal/views/AdminView.jsx - Schedule builder
src/futsal/logic.js - Rankings
src/futsal/views/RankingViews.jsx - Display formatting
src/futsal/format.js - Form components
src/futsal/ui.jsx
Solar viewer
- Solar entry
src/solar/main.jsx - Viewer controls
src/solar/SolarApp.jsx - 3D scene
src/solar/Scene.jsx - Body data
src/solar/bodies.js - Planet textures
src/solar/textures.js
Action game
- Game entry
src/titan/main.jsx - Game interface
src/titan/TitanApp.jsx - Game engine
src/titan/game/Game.js - Player movement
src/titan/game/player.js - World and collisions
src/titan/game/world.js - Titan enemy
src/titan/game/titan.js - Combat effects
src/titan/game/effects.js - Synthesized audio
src/titan/game/audio.js - Generated textures
src/titan/game/textures.js
ToDo app
- ToDo entry
src/todo/main.jsx - Task manager
src/todo/App.jsx
Other components
- Visitor
Connections 38
- Visitor → App links: opens
README.md - App links → ToDo entry: links to
README.md - App links → Solar entry: links to
README.md - App links → Game entry: links to
README.md - App links → Tournament entry: links to
README.md - Visitor → Tournament entry: opens
README.md - Tournament entry → Tournament router: renders
src/futsal/main.jsx - Tournament router → Tournament data: loads
src/futsal/FutsalApp.jsx - Tournament data → RPC client: calls
src/futsal/hooks.js - RPC client → Demo storage: uses locally
src/futsal/api.js - RPC client → Supabase RPC: calls RPC
README.md - Tournament router → Tournament creation: renders
src/futsal/FutsalApp.jsx - Tournament router → Schedule view: routes to
src/futsal/FutsalApp.jsx - Tournament router → Match details: routes to
src/futsal/FutsalApp.jsx - Tournament router → Team members: routes to
src/futsal/FutsalApp.jsx - Tournament router → Tournament admin: routes to
src/futsal/FutsalApp.jsx - Tournament router → Rankings: routes to
src/futsal/FutsalApp.jsx - Tournament admin → Schedule builder: builds preview
src/futsal/views/AdminView.jsx - Rankings → Schedule builder: calculates rankings
src/futsal/views/RankingViews.jsx - Tournament router → Form components: uses
src/futsal/FutsalApp.jsx - Tournament admin → Form components: uses forms
src/futsal/views/AdminView.jsx - Match details → Form components: uses forms
src/futsal/views/MatchView.jsx - Tournament router → Display formatting: formats dates
src/futsal/FutsalApp.jsx - Tournament entry → Viewer controls: renders
- Viewer controls → 3D scene: renders
src/solar/SolarApp.jsx - 3D scene → Body data: reads data
src/solar/Scene.jsx - 3D scene → Planet textures: generates textures
src/solar/Scene.jsx - Game entry → Game interface: renders
src/titan/main.jsx - Game interface → Game engine: creates game
src/titan/TitanApp.jsx - Game engine → Player movement: uses
src/titan/game/Game.js - Game engine → World and collisions: uses
src/titan/game/Game.js - Game engine → Titan enemy: creates
src/titan/game/Game.js - Game engine → Combat effects: uses
src/titan/game/Game.js - Game engine → Synthesized audio: uses
src/titan/game/Game.js - Game engine → Generated textures: uses
src/titan/game/Game.js - World and collisions → Generated textures: uses
src/titan/game/world.js - ToDo entry → Task manager: renders
src/todo/main.jsx - Visitor → Task manager: manages tasks
README.md