How l4risza/gameatlas works
GameAtlas is a React game-discovery and player-community application backed by an Express API, IGDB, and Supabase. Its main user journey is browsing or searching games, opening a game page, and optionally saving or reviewing it; separate community flows support lists, profiles, and review likes. The graph includes the documented authentication and account features. Backend service wiring is based on the SOURCE INDEX; unsampled routes and UI internals are not expanded beyond documented behavior.
Main entry points: App.jsx Route dispatch · account.js Account operations · server.js API server · useGames.js Game loading
Components 28
React application
- React entry
src/main.jsx - Route dispatch
src/App.jsx - Auth screens
src/pages/Login.jsx
Game discovery
- Browse and search
src/pages/Explorar.jsx - Home feed
src/pages/Home.jsx - Game details
src/pages/Jogo.jsx - Game loading
src/hooks/useGames.js - Game API client
src/services/api.js
Player community
- Saved games and ratings
src/components/GameAccount.jsx - Review feed
src/pages/Reviews.jsx - Review details
src/pages/ReviewDetalhes.jsx - Review likes
src/components/ReviewLike.jsx - Lists
src/pages/Listas.jsx - List details
src/pages/ListaDetalhes.jsx - Profiles and settings
src/pages/Perfil.jsx - Account operations
src/services/account.js
API and integrations
- Express routes
backend/app.js - API server
backend/server.js - IGDB game service
backend/igdb-service.js - IGDB client
backend/igdb-client.js - Description translation
backend/translation-service.js
Identity and storage
- Session provider
src/context/AuthProvider.jsx - Supabase client
src/services/supabase.js - Backend account service
backend/supabase-service.js - Account API logic
backend/account-service.js
Other components
- Player
- IGDB
- Supabase platform
Connections 40
- Player → React entry: uses
- React entry → Route dispatch: mounts
src/main.jsx - Route dispatch → Home feed: routes to
src/App.jsx - Route dispatch → Browse and search: routes to
src/App.jsx - Route dispatch → Game details: routes to
src/App.jsx - Route dispatch → Review feed: routes to
src/App.jsx - Route dispatch → Review details: routes to
src/App.jsx - Route dispatch → Lists: routes to
src/App.jsx - Route dispatch → List details: routes to
src/App.jsx - Route dispatch → Profiles and settings: routes to
src/App.jsx - Route dispatch → Auth screens: routes to
src/App.jsx - Browse and search → Game loading: loads games
src/hooks/useGames.js - Home feed → Game loading: loads games
- Game details → Game loading: loads game data
src/pages/Jogo.jsx - Game loading → Game API client: requests data
src/hooks/useGames.js - Game API client → Express routes: calls API
- API server → Express routes: starts
backend/server.js - API server → IGDB game service: configures
backend/server.js - API server → Description translation: configures
backend/server.js - IGDB game service → IGDB client: uses
backend/igdb-service.js - IGDB client → IGDB: queries
- API server → Backend account service: configures
backend/server.js - API server → Account API logic: configures
backend/server.js - Account API logic → Backend account service: uses
- Express routes → Account API logic: dispatches
- Game details → Saved games and ratings: shows account actions
src/pages/Jogo.jsx - Saved games and ratings → Account operations: loads and updates
src/components/GameAccount.jsx - Review feed → Account operations: loads reviews
src/pages/Reviews.jsx - Review details → Account operations: loads and deletes
src/pages/ReviewDetalhes.jsx - Review details → Review likes: renders
src/pages/ReviewDetalhes.jsx - Review likes → Account operations: sets likes
src/components/ReviewLike.jsx - Lists → Account operations: loads lists
- List details → Account operations: manages list games
src/pages/ListaDetalhes.jsx - Profiles and settings → Account operations: uses account data
src/pages/Perfil.jsx - Account operations → Supabase client: queries account data
src/services/account.js - Account operations → Game API client: requests game records
src/services/account.js - React entry → Session provider: wraps app
src/main.jsx - Session provider → Supabase client: initializes session
src/context/AuthProvider.jsx - Supabase client → Supabase platform: connects
src/services/supabase.js - Backend account service → Supabase platform: accesses data