How pausasecurity/pausa works
PauSa is a gaming-community web app for finding live play sessions and forming lasting groups or clans, with accounts, profiles, friends, messaging, ratings, and age verification. The main workflow is a player browsing a live lobby feed, filtering or joining a lobby, then coordinating in its chat; users can also create or manage groups and clans. The graph reflects sampled call paths and documented module responsibilities; several capabilities are represented by tree-supported paths whose internals were not sampled.
Main entry points: App.jsx App shell · pocketbase.js PocketBase client · AuthContext.jsx Auth context · KontoTab.jsx Profile and account
Components 22
App experience
- App shell
src/App.jsx - Auth context
src/context/AuthContext.jsx - Verification context
src/context/VerificationContext.jsx
Play and groups
- Lobby views
src/components/LobbyCard.jsx - Lobby chat
src/components/LobbyChat.jsx - Lobby service
src/services/lobbyService.js - Group views
src/components/GroupDetail.jsx - Group service
src/services/groupService.js
Community features
- Profile and account
src/components/KontoTab.jsx - Profile service
src/services/profileService.js - Friend service
src/services/friendService.js - Rating service
src/services/ratingService.js - Messages panel
src/components/MessagesPanel.jsx - Report service
src/services/reportService.js
Identity and platform
- Auth service
src/services/authService.js - Verification service
src/services/verificationService.js - Login alert service
src/services/loginAlertService.js - PocketBase client
src/services/pocketbase.js - PocketBase hooks
pocketbase/pb_hooks/main.pb.js
Other components
- Player
- PocketBase
- Email delivery
Connections 35
- Player → App shell: uses
- App shell → Auth context: provides auth
- App shell → Verification context: provides verification
- App shell → Lobby views: renders
- App shell → Lobby chat: renders
- App shell → Messages panel: renders
- App shell → Group views: renders
- App shell → Profile and account: renders
- App shell → Lobby service: loads and joins
- App shell → Group service: loads groups
- App shell → Profile service: loads profile
- App shell → Rating service: loads ratings
- Auth context → Auth service: authenticates
- Auth context → Profile service: loads profile
- Auth context → Login alert service: checks login location
- Auth context → PocketBase client: syncs user record
- Verification context → Verification service: reads and updates
- Lobby service → PocketBase client: reads and writes
- Group views → Group service: manages groups
- Lobby chat → Lobby service: exchanges chat
- Messages panel → Friend service: uses relationships
- Profile and account → Profile service: edits profile
- Profile and account → Friend service: manages friends
- Profile and account → Rating service: submits ratings
- Profile and account → Report service: submits reports
- Auth service → PocketBase client: authenticates
- Friend service → PocketBase client: reads and writes
- Rating service → PocketBase client: reads and writes
- Report service → PocketBase client: writes reports
- Profile service → PocketBase client: reads and writes
- Login alert service → PocketBase hooks: calls login check
- PocketBase client → PocketBase: API requests
- PocketBase hooks → PocketBase: stores login history
- PocketBase hooks → Email delivery: sends alert
- PocketBase hooks → PocketBase: cleans expired lobbies