How viswaksena-j/boardify works
Main Components
A. Frontend Layer:
• Marketing Section (app/(marketing))
• Platform Section (app/(platform))
• Authentication (Clerk integration)
• Dashboard
• Board Management
• Organization Management
• UI Components (components/)
• Client-side State Management (React Query via query-provider.tsx)
B. Backend Layer:
• API Routes (app/api/)
• Database Layer (Prisma ORM)
• Authentication Service (Clerk)
• External Services:
• Stripe Integration
• Unsplash Integration
C. Action Layer:
• Board Actions
• Card Actions
• Actions
[Client Layer]
• ↑↓
[Next.js App Router]
• ↑↓
[Server Components/Actions]
• ↑↓
[External Services] ← → [Database]
Key Relationships to Highlight
a. Client-Server Flow:
• How the app router handles different routes
• Server component rendering
• API endpoint connections
b. Data Flow:
• Database interactions through Prisma
• Server actions implementation
• Real-time updates and state management
c. Authentication Flow:
• Clerk integration points
• Protected routes and middleware
• Organization selection flow
Important Architectural Patterns to Emphasize
• Next.js App Router Architecture
• Server Components usage
• Action-based state management
• Feature-based folder structure
• API route organization
Specific Implementation Details
a. Board Management:
[Board UI] → [Board Actions] → [Database]
• ↑↓
[List Management] ← → [Card Management]
b. Organization Flow:
[Org Selection] → [Dashboard] → [Board List]
• ↑↓
[Activity Tracking] ← → [Settings]
Additional Elements
• Error handling flows
• Form validation patterns
• Modal system architecture
• Activity logging system