How hyunsdev/opize-calendar2notion-frontend works
Main Architecture Components
a) Frontend Layer:
• Next.js Client-Side Components
• Page Routes
• Component Library
• Dashboard Interface
• Admin Interface
• Flow Interface
b) API Layer:
• Next.js API Routes
• Authentication Services
• External API Integrations
c) Integration Layer:
• Google Calendar Integration
• Notion Integration
• SyncBot Service
Detailed Component Breakdown
a) Frontend Components (Top Layer):
• Dashboard
• Admin Panel
• Flow
• Settings
• GCalIcon
• NotionPage
• PlanCard
• Footer
b) State Management (Middle Layer):
• State management flow with:
• Page States
• User States
• States
• Admin States
c) API Integration (Bottom Layer):
• Client Services:
• Old Client
• New Client
• API Endpoints
• External Services:
• Google Calendar API
• Notion API
• SyncBot Service
Connection Flows
• User Authentication Flow
• Calendar Sync Flow
• Notion Integration Flow
• Admin Management Flow
[User Interface Layer]
• ↓
[State Management Layer]
• ↓
[API Layer]
• ↓
[Integration Layer]
• ↓
[External Services]
Additional Elements
Supporting elements:
• Version information
• Data flow indicators
• Security boundaries
• API endpoint groupings
Key Features to Highlight
Architectural features:
• Next.js page routing system
• API route structure
• Integration patterns with external services
• Admin management capabilities
• User dashboard flow
• Flow system
Remember to include a clear indication of the data flow between components, especially in the connection and sync processes between Google Calendar and Notion, as this seems to be a central feature of the application.