How owaysmb/gameratingdatabase works
This is a React game-discovery and community application backed by an Express/MongoDB service. Users browse and search IGDB’s catalogue, open game details, then optionally sign in to manage game lists, ratings, favorites, progress, reviews, and game forums. The frontend also exposes profiles and forum discussions. The graph preserves these major domains, but some frontend and backend implementations were not sampled; their links are included only where the excerpts or source index establish them.
Main entry points: App.jsx App routing · server.js Express server · ForumMainPage.jsx Forum interface · IGDBController.js Catalogue API
Components 20
Web application
- App routing
frontend/src/App.jsx - Auth context
frontend/context/AuthContext.jsx - Game discovery
frontend/src/Components/HomePage - Advanced search
frontend/src/Components/Search/AdvancedSearch.jsx - Game details
frontend/src/Components/GameDetailsPage/GameDetails.jsx - Profiles and stats
frontend/src/Components/Profile
Game catalogue
- Catalogue routes
backend/routes/IGDBRouter.js - Catalogue API
backend/controllers/IGDBController.js
Community features
- Forum interface
frontend/src/Components/GameForum/ForumMainPage.jsx - Post creation
frontend/src/Components/GameForum/CreatePost.jsx - Post comments
frontend/src/Components/GameForum/PostsComments.jsx
Backend service
- Express server
backend/server.js - API routes
backend/routes/routes.js - User and game API
backend/controllers/controller.js - Domain models
backend/models - Redis cache
backend/cache.js
Other components
- Visitor
- MongoDB
- IGDB service
- Browser user
Connections 24
- Visitor → App routing: uses
frontend/src/App.jsx - App routing → Game discovery: routes to
frontend/src/App.jsx - App routing → Game details: routes to
frontend/src/App.jsx - App routing → Profiles and stats: routes to
frontend/src/App.jsx - App routing → Forum interface: routes to
frontend/src/App.jsx - App routing → Post creation: routes to
frontend/src/App.jsx - App routing → Post comments: routes to
frontend/src/App.jsx - App routing → Auth context: provides
frontend/src/App.jsx - Auth context → Express server: checks session
frontend/context/AuthContext.jsx - Advanced search → Catalogue API: queries
frontend/src/Components/Search/AdvancedSearch.jsx - Forum interface → Express server: fetches forum data
frontend/src/Components/GameForum/ForumMainPage.jsx - Forum interface → Post creation: renders
frontend/src/Components/GameForum/ForumMainPage.jsx - Forum interface → Post comments: opens comments
- Express server → API routes: mounts
backend/server.js - Express server → Catalogue routes: mounts
backend/server.js - API routes → User and game API: dispatches
backend/routes/routes.js - Catalogue routes → Catalogue API: dispatches
backend/routes/IGDBRouter.js - Catalogue API → Express server: uses IGDB service
backend/controllers/IGDBController.js - Express server → IGDB service: fetches catalogue
backend/server.js - User and game API → Domain models: uses models
backend/controllers/controller.js - User and game API → Redis cache: caches results
backend/controllers/controller.js - Catalogue API → Redis cache: caches queries
backend/controllers/IGDBController.js - Redis cache → Express server: reads Redis
backend/cache.js - Express server → MongoDB: connects