How auroravane/rbdsm-project works
BoardNight is a board-game collection and game-night planning application, with account management and borrowed-game views. Users enter through the React app and navigate to collection, planner, profile, and other page workflows. The planner’s shown requests create games and manage game-night events through the Express API; the API’s shown handlers persist data through PostgreSQL. The README provides no capability description, and several page implementations or backend integrations were not shown, so those components are included without speculative connections.
Main entry points: App.jsx React app and routes · db.js PostgreSQL pool · app.js Express API · GamePlanner.jsx Game planner
Components 20
Web application
- React app and routes
frontend/src/App.jsx - Ambient starfield
frontend/src/components/AmbientStarfield.jsx - Home
frontend/src/pages/Home.jsx - Login
frontend/src/pages/Login.jsx - Signup
frontend/src/pages/Signup.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - My games
frontend/src/pages/MyGames.jsx - Game board
frontend/src/pages/GameBoard.jsx - Borrowed games
frontend/src/pages/Borrowed.jsx
API and account
- Profile and security
frontend/src/pages/Profile.jsx - Express API
src/app.js - Authentication routes
src/routes/auth.routes.js - Chat route
src/routes/chat.routes.js - Error handler
src/middleware/errorHandler.js
Game planning
- Game planner
frontend/src/pages/GamePlanner.jsx - Game routes
src/routes/games.route.js - Game-night routes
src/routes/gameNights.routes.js
Persistence
- PostgreSQL pool
src/db.js - PostgreSQL database
Other components
- BoardNight user
Connections 22
- BoardNight user → React app and routes: uses
frontend/src/App.jsx - React app and routes → Home: routes to
frontend/src/App.jsx - React app and routes → Login: routes to
frontend/src/App.jsx - React app and routes → Signup: routes to
frontend/src/App.jsx - React app and routes → Dashboard: routes to
frontend/src/App.jsx - React app and routes → My games: routes to
frontend/src/App.jsx - React app and routes → Game board: routes to
frontend/src/App.jsx - React app and routes → Game planner: routes to
frontend/src/App.jsx - React app and routes → Borrowed games: routes to
frontend/src/App.jsx - React app and routes → Profile and security: routes to
frontend/src/App.jsx - React app and routes → Ambient starfield: renders
frontend/src/App.jsx - Profile and security → Authentication routes: requests password change
frontend/src/pages/Profile.jsx - Express API → Authentication routes: mounts
src/app.js - Express API → Game-night routes: mounts
src/app.js - Express API → Error handler: uses
src/app.js - Game planner → Game routes: posts games
frontend/src/pages/GamePlanner.jsx - Game planner → Game-night routes: manages events
frontend/src/pages/GamePlanner.jsx - Authentication routes → PostgreSQL pool: queries
src/routes/auth.routes.js - Game-night routes → PostgreSQL pool: queries
src/routes/gameNights.routes.js - Game routes → PostgreSQL pool: queries
src/routes/games.route.js - Chat route → PostgreSQL pool: queries
src/routes/chat.routes.js - PostgreSQL pool → PostgreSQL database: connects to
src/db.js