How rayaan-khan428/leetr works
Main Components Identification
a) Frontend (React Application)
b) Backend (Node.js Server)
c) Chrome Extension
d) Database Layer
Component Breakdown and Relationships
Frontend Layer:
• Components Module (containing Nav, Footer, LeetCodeStatsCard, etc.)
• Pages Module (Homepage and Main)
• Data Visualization Components (DifficultyDistributionChart)
• Problem Management (ProblemsTable, CheckProblemsButton)
Backend Layer:
• Main Server (index.js)
• Problem Handler (Problem.js)
• Scheduled Tasks Service (scheduledTasks.js)
• Environment Configuration (.env)
Chrome Extension Layer:
• Background Script (background.js)
• Content Script (content.js)
• Popup Interface (popup.html, popup.js)
• Extension Configuration (manifest.json)
Database Layer:
• A database symbol showing data storage
Interaction Flows
• Frontend ↔ Backend (REST API calls)
• Chrome Extension ↔ Backend (Data synchronization)
• Backend ↔ Database (Data persistence)
• Chrome Extension ↔ LeetCode Website (External interaction)
Technical Stack Indicators
Technology badges or labels for:
• React.js (Frontend)
• Node.js (Backend)
• Chrome Extensions API
• Any database technology being used (based on basic.txt presence)
Additional Elements
Include:
• Version/environment indicators
• Data flow direction indicators
• API endpoints (if specific ones are crucial)