How andr3wsw/pulse works
Pulse is a browser-based social app. Users sign up or log in, then use the app to discover people, manage friend requests, participate in global chat, and exchange direct messages; account and profile tools support editing, while moderation surfaces user reports. The client is organized around page-specific JavaScript modules backed by Firebase Authentication and Firestore, with ImageKit used for profile-picture uploads. The map follows explicit imports, calls, and data operations in the excerpts; the README is empty, and the unexcerpted network module’s role is unclear.
Main entry points: account.js Account Settings · app.js App Navigation · friends.js Friend Tools · signup.js Registration
Components 22
Identity and Account
- Sign Up
signup.html - Registration
signup.js - Log In
login.html - Sign-In
login.js - Account Page
account.html - Account Settings
account.js - Auth Guard
auth.js
Profiles and Friends
- Profile View
profile.js - Friend Tools
friends.js
Messaging
- Global Chat
chat.js - Direct Messages
messages.js
Moderation
- Moderation Page
app.html - Report Review
moderation.js
Client and Services
- App Shell
app.html - App Navigation
app.js - Landing Behavior
main.js - Firebase Setup
firebase.js - Firestore
- Firebase Auth
- ImageKit
- Image Auth Worker
Other components
- Visitor
Connections 29
- Visitor → Sign Up: opens
- Visitor → Log In: opens
- Sign Up → Registration: submits to
- Log In → Sign-In: submits to
- Registration → Firebase Auth: creates account
signup.js - Registration → Firestore: checks and writes
signup.js - Sign-In → Firebase Auth: signs in
login.js - Sign-In → App Shell: redirects to
login.js - Account Page → Account Settings: loads
- Account Settings → Auth Guard: checks access
account.js - Auth Guard → Firebase Auth: observes session
auth.js - Account Settings → Firestore: reads and updates
account.js - Account Settings → Image Auth Worker: requests upload credentials
account.js - Account Settings → ImageKit: uploads image
account.js - App Shell → App Navigation: loads
- App Navigation → Auth Guard: checks access
app.js - App Navigation → Firestore: reads user profile
app.js - App Navigation → Moderation Page: switches page
app.js - Friend Tools → Firestore: searches and manages
friends.js - Friend Tools → Profile View: opens profile
friends.js - Friend Tools → Direct Messages: opens conversation
friends.js - Profile View → Firestore: reads and writes
profile.js - Global Chat → Firestore: streams and writes
chat.js - Global Chat → Profile View: opens sender profile
chat.js - Direct Messages → Firestore: streams and writes
messages.js - Moderation Page → Report Review: loads
- Report Review → Firestore: reads reports and users
moderation.js - Firebase Setup → Firestore: initializes
firebase.js - Firebase Setup → Firebase Auth: initializes
firebase.js