How sachin-bansal94/meandminee works
Me&Minee is a paired-couple app for daily goals, mood check-ins, live chat and shared photos, plus turn-based and live games. A member signs in or registers with a partner’s invite code; the authenticated client then uses API routes for shared features and a socket connection for presence and live events. The server coordinates domain routes, authentication, media and persistence in Postgres. The README documents product capabilities beyond the sampled excerpts; edges for those areas rely on its descriptions and the source index, not uninspected implementation details.
Main entry points: App.jsx App shell · index.js HTTP and socket server · db.js Postgres access · api.js API client
Components 28
Client experience
- App shell
client/src/App.jsx - Sign-in and pairing
client/src/pages/Auth.jsx - Session state
client/src/session.jsx - API client
client/src/api.js - Socket client
client/src/socket.js - Goals and streaks
client/src/pages/Home.jsx - Chat experience
client/src/pages/Chat.jsx - Photo album
client/src/pages/Photos.jsx - Game decks
client/src/pages/Games.jsx - Live games
client/src/pages/LiveGames.jsx - Draw and guess
client/src/pages/DrawGame.jsx - Mood and couple
client/src/pages/Us.jsx - Shared UI
client/src/components/ui.jsx
Server features
- HTTP and socket server
server/index.js - Account and pairing
server/routes/account.js - Goal management
server/routes/goals.js - Mood check-ins
server/routes/mood.js - Messages and chat
server/routes/chat.js - Game answers
server/routes/games.js - Live game routes
server/routes/live.js - Draw game runtime
server/games/drawLive.js - Photo operations
server/routes/photos.js - Album helpers
server/album.js
Runtime services
- Private media
server/media.js - Token authentication
server/auth.js - Postgres access
server/db.js
Other components
- Couple members
- Cloudinary storage
Connections 48
- Couple members → App shell: uses
README.md - App shell → Sign-in and pairing: shows when signed out
client/src/App.jsx - App shell → Goals and streaks: routes to
client/src/App.jsx - App shell → Chat experience: routes to
client/src/App.jsx - App shell → Photo album: routes to
client/src/App.jsx - App shell → Game decks: routes to
client/src/App.jsx - App shell → Live games: routes to
client/src/App.jsx - App shell → Draw and guess: routes to
client/src/App.jsx - App shell → Mood and couple: routes to
client/src/App.jsx - Sign-in and pairing → Session state: logs in or registers
client/src/pages/Auth.jsx - Session state → API client: requests session data
client/src/session.jsx - Session state → Socket client: connects after login
client/src/session.jsx - Goals and streaks → API client: requests goals
client/src/pages/Home.jsx - Chat experience → API client: requests messages
client/src/pages/Chat.jsx - Chat experience → Socket client: listens for live events
client/src/pages/Chat.jsx - Photo album → API client: requests photos
client/src/pages/Photos.jsx - Game decks → API client: requests games
client/src/pages/Games.jsx - Live games → API client: requests turns
client/src/pages/LiveGames.jsx - Live games → Socket client: exchanges live events
client/src/pages/LiveGames.jsx - Draw and guess → API client: requests game state
client/src/pages/DrawGame.jsx - Draw and guess → Socket client: exchanges strokes
client/src/pages/DrawGame.jsx - HTTP and socket server → Account and pairing: mounts routes
server/index.js - HTTP and socket server → Goal management: mounts routes
server/index.js - HTTP and socket server → Mood check-ins: mounts routes
server/index.js - HTTP and socket server → Messages and chat: mounts routes
server/index.js - HTTP and socket server → Game answers: mounts routes
server/index.js - HTTP and socket server → Live game routes: mounts routes
server/index.js - HTTP and socket server → Photo operations: mounts routes
server/index.js - HTTP and socket server → Draw game runtime: initializes and attaches
server/index.js - Account and pairing → Token authentication: uses authentication
server/routes/account.js - Goal management → Token authentication: authenticates requests
server/routes/goals.js - Mood check-ins → Token authentication: authenticates requests
server/routes/mood.js - Messages and chat → Token authentication: authenticates requests
server/routes/chat.js - Game answers → Token authentication: authenticates requests
server/routes/games.js - Photo operations → Token authentication: authenticates requests
server/routes/photos.js - Account and pairing → Postgres access: queries users and couples
server/routes/account.js - Goal management → Postgres access: reads and writes goals
server/routes/goals.js - Mood check-ins → Postgres access: reads and writes moods
server/routes/mood.js - Messages and chat → Postgres access: reads and writes messages
server/routes/chat.js - Game answers → Postgres access: reads and writes answers
server/routes/games.js - Live game routes → Postgres access: persists game state
- Draw game runtime → Postgres access: persists live drawing
server/games/drawLive.js - Photo operations → Postgres access: stores photo records
server/routes/photos.js - Messages and chat → Private media: uploads chat media
server/routes/chat.js - Photo operations → Private media: uploads and releases files
server/routes/photos.js - Album helpers → Private media: uses media helpers
server/album.js - Private media → Postgres access: stores media metadata
server/media.js - Private media → Cloudinary storage: streams optional storage
README.md