How dishant0406/lazyweb works
Main Components
a) Frontend Layer:
• Landing Page Application (lazyweb-landing-page)
• Main Application (lazyweb)
• Component Structure:
• Desktop Interface
• Mobile Interface
• Shared Components
• Utility Components
b) Backend Services:
• Supabase (Database & Authentication)
• Custom API Routes
• Website Screenshot Service
• Metadata Service
[Client Layer]
• ↓ ↑
[Application Layer]
• ↓ ↑
[Data & Services Layer]
Specific Implementation Details
A. Client Layer (Top):
• "Landing Page" (Next.js)
• "Main Application" (Next.js)
B. Application Layer (Middle):
• Next.js Server Components
• API Routes (/api/*)
• Authentication Handler
• Resource Management System
• Component hierarchy:
• Desktop Components
• Mobile Components
• Shared Components
• Utility Components
C. Data & Services Layer (Bottom):
• Supabase Section:
• Authentication Service
• Database
• External Services:
• Website Screenshot API
• Metadata API
Important Connections to Highlight
• Authentication flow between client and Supabase
• Data flow for resource management
• Demonstrate the website screenshot and metadata service integration
• Relationship between mobile and desktop components with shared utilities
Additional Elements
• Bookmark System
• Resource Publishing System
• Search Functionality
• Category Management
• User Management
Technical Details to Note
Annotations for:
• TypeScript implementation
• TailwindCSS styling
• Next.js routing system
• API endpoint specifications
• Supabase integration points