How nitishpatel/learnturbo works
Project Type Analysis
This is a monorepo project using Turborepo, containing a full-stack TypeScript application with shared packages. The project consists of:
• Frontend and backend applications
• Shared UI component library
• Common configuration packages for TypeScript and ESLint
• Shared common types package
Main Components
A. Workspace Structure (Top Level):
┌─ Monorepo Root
• Apps
• Frontend (React/Vite)
• Backend (TypeScript)
• Packages
• UI Components
• Common
• TypeScript Config
• ESLint Config
B. Application Architecture:
┌─ Frontend (Vite + React)
• Components
• Socket Integration
• Assets
• Backend
• User Management
• Counter Management
• WebSocket Server
Specific Elements
a) Frontend Section:
• Socket connection handler (use-socket.tsx)
• Main application structure (App.tsx)
• UI components integration
b) Backend Section:
• User management system
• Counter management system
• WebSocket server implementation
c) Shared Packages:
• UI component library
• Common types
• Configuration sharing