How im-divxnshh/zestyhub works
Project type and purpose
• This is a full-stack, real-time collaboration platform (Zesty Hub) implemented as a Single Page Application (SPA) in React.
• It uses Firebase (Authentication + Firestore) as its primary backend-as-a-service and WebRTC (via a separate signalling server) for peer-to-peer video and data streaming.
File structure
• Top-level:
• package.json, .env, README.md, tailwind.config.js – project metadata, environment, build config
• public/ – static assets (index.html, redirects, images)
• src/ – application source code
• src/components – feature modules organized by domain (dashboardFeatures, friendChatsComps, groupChats, loginComponents)
• src/pages – route-level composites (dashboardPage, friendsChats, groupChats, loginPage)
• src/utils – cross-cutting utilities (AuthContext, PrivateRoute, firebaseConfig)
• This structure implies a component-driven design, clear separation between feature domains, and use of Context for global state/security.
README for additional insights
• Frontend: React.js + Tailwind CSS
• Backend: Node.js/Express (not present in this repo) + WebRTC signalling server
• Database/Auth: Firebase Authentication & Firestore
• Real-time video/data: WebRTC
Elements
• Clear labels for each component (e.g., “React SPA”, “Firebase Auth”, “Firestore Database”, “WebRTC Signalling Server”, “Peer A / Peer B”).
• SDK calls from SPA → Firebase services → data flows back
• WebSocket/HTTP from SPA ↔ Signalling server
• Blue rectangles for UI components (SPA)
• Yellow cloud for Auth service (Firebase Auth)