How jasonlin1993/ganttchart works
High-Level Architecture Overview
a) Client-Side (Frontend):
• Next.js Application Layer
• Redux State Management
• UI Components Layer
• Custom Hooks Layer
b) Backend Services:
• Firebase Authentication
• Firebase Firestore
Detailed Component Breakdown
A. Frontend Layer (Top Section):
┌─ User Interface Layer ─────────────────────┐
• Main Page Components │
• Gantt Chart Components │
• Authentication Forms │
• History View │
• ┘
B. Application Logic Layer (Middle Section):
┌─ State Management ─┐ ┌─ Custom Hooks ────┐
• Redux Store │ │ - useAuth │
• Task Actions │ │ - useFirestore │
• Date Actions │ │ - useProjectData │
• ┘ └─────────────────────┘
C. Backend Services (Bottom Section):
┌─ Firebase Services ───────────────────────┐
• Authentication │
• Firestore Database │
• ┘
Data Flow Indicators
• User interactions → UI Components
• UI Components → Redux Actions
• Redux Store → Components (for state updates)
• Custom Hooks → Firebase Services
• Firebase Services → Custom Hooks (data responses)
Special Features to Highlight
• Drag & Drop functionality
• PDF Export capability
• Project history management
Component Relationships
Specific interactions between:
• Authentication flow (SigninForm/SignupForm → useAuth → Firebase Auth)
• Data management flow (TaskInput → Redux → Firestore)
• Project management flow (SaveToFirestore → Firestore Database)
Technical Stack Indicators
• Next.js
• Redux Toolkit
• Styled Components
• Firebase
• React Hooks
Deployment Flow
A section showing the deployment process:
• Local Development
• Vercel Deployment
• Firebase Configuration
Remember to:
• Use consistent symbols and notation
• Both synchronous and asynchronous operations
• Error handling paths
• Security boundaries