How tkhwang/what-todo works
Main Components Identification
The system consists of three main applications and a shared package:
• Mobile App (React Native/Expo)
• Web App (Next.js)
• Backend (Nest.js)
• Shared Models Package
Connection Flows
• API calls between clients and backend
• Authentication flows
• Database operations
• Real-time updates using Firestore listeners
Specific Implementation Details
Technical details such as:
• Firebase integration points
• Authentication strategies
• API endpoints structure
• Real-time data flow
┌─────────────────────────────────────────────────────┐
• Client Layer │
• ┌─────────────┐ ┌──────────────┐ │
• Mobile App │ │ Web App │ │
• (Expo) │ │ (Next.js) │ │
• ┘ └──────────────┘ │
• ┤
• Shared Models Package │
• ┤
• Backend Layer │
• ┌─────────────────────────────────────────────┐ │
• Nest.js Backend │ │
• ┌─────────┐ ┌────────┐ ┌──────────────┐ │ │
• Auth │ │ Users │ │ Tasks │ │ │
• ┘ └────────┘ └──────────────┘ │ │
• ┘ │
• ┤
• External Services │
• ┌─────────────────────────────────────────────┐ │
• Firebase Services │ │
• ┌─────────┐ ┌────────┐ ┌──────────────┐ │ │
• Auth │ │Firestore│ │ Admin │ │ │
• ┘ └────────┘ └──────────────┘ │ │
• ┘ │
• ┘
Key Features to Highlight
• Expert/Supervisor interaction flows
• Todo management lifecycle
• Real-time updates system
• Cross-platform compatibility
• Shared type system through the models package