How sanchitbajaj02/palettegram works
Main System Components
The system architecture should be divided into these key components:
a) Frontend Layer:
• Next.js Application (src/app directory)
• Client-side Components (src/components)
• Redux State Management (src/redux)
• Authentication Views (src/app/(auth))
• User Interface Components (src/components/core)
b) Backend Layer:
• Appwrite Backend Services (src/backend)
• API Routes (src/app/api)
• Authentication Services
• Storage Services
c) External Services:
• Resend (for email services)
• Vercel (deployment platform)
• GitHub Integration
Key Relationships to Highlight
• Client-Server Communication:
• Frontend components → Backend API routes
• Authentication flow between client and Appwrite
• Redux store interactions with backend services
• Data Flow:
• User authentication process
• Post creation and management
• Bookmarking system
Specific Implementation Details
[Client Layer]
• ↓ ↑
[Next.js API Routes] → [Redux Store]
• ↓ ↑
[Appwrite Services]
• Authentication
• Database
• Storage
• ↓ ↑
[External Services]
• Resend (Email)
• GitHub Integration
Component Details
Specific features:
• User authentication flow
• Post management system
• Bookmark functionality
• Real-time updates
• Image upload system
• Email notification system