How denesh-developer/cheyyar-hub works
CheyyarHub is a social-networking app with profiles, posts and comments, follows, messaging, notifications, and short-form reels. The principal user flow is to enter the app, authenticate, and interact with social content backed by Firebase. The tree contains three large App.jsx implementations; only src/main.jsx explicitly mounts src/App.jsx, so the other two are shown as separate app implementations rather than assumed to be connected. Source excerpts support the Firebase operations and the OTP and push service behavior; they do not establish client calls to those services.
Main entry points: src/App.jsx Social app · firebase.js Firebase setup · App.jsx App implementation · api/App.jsx API app implementation
Components 17
Social app
- React entry
src/main.jsx - Social app
src/App.jsx - App implementation
App.jsx - API app implementation
api/App.jsx
Firebase data
- Firebase setup
src/firebase.js - Firestore
Account and notifications
- Firebase Auth
- Email OTP service
src/src.js - Resend email
- Push handler
api/send-push.js - Firebase Messaging
Social features
- Profiles and follows
src/App.jsx - Posts and comments
src/App.jsx - Reels
src/App.jsx - Messaging
src/App.jsx - Notifications
src/App.jsx
Other components
- User
Connections 14
- User → React entry: opens
src/main.jsx - React entry → Social app: renders
src/main.jsx - Social app → Firebase setup: imports
src/App.jsx - Firebase setup → Firestore: initializes
src/firebase.js - Firebase setup → Firebase Auth: initializes
src/firebase.js - Social app → Firestore: reads and writes
src/App.jsx - Social app → Firebase Auth: updates profile
src/App.jsx - App implementation → Firestore: reads and writes
App.jsx - App implementation → Firebase Auth: authenticates
App.jsx - API app implementation → Firestore: reads and writes
api/App.jsx - API app implementation → Firebase Auth: authenticates
api/App.jsx - Email OTP service → Resend email: sends OTP
src/src.js - Push handler → Firestore: reads tokens
api/send-push.js - Push handler → Firebase Messaging: sends push
api/send-push.js