How gauravmandall/gorlabs works
Main Architecture Components
The system should be represented as a monorepo architecture with the following main components:
a. Apps Layer:
• Landing App (Next.js 14)
• Documentation App (Next.js-based)
b. Packages Layer:
• UI Component Library
• Hooks Library
• Utils Library
• CLI Tool
• Shared Configurations (TypeScript, ESLint)
┌─ Gorlabs Platform ─────────────────────┐
• ┌─────────┐ ┌─────────┐ │
• Landing │ │ Docs │ │
• App │ │ App │ │
• ┘ └─────────┘ │
• ▲ ▲ │
• ┬────────┘ │
• ┌──────────────┐ │
• Shared │ │
• Packages │ │
• ┘ │
• ┘
Key Relationships to Highlight
• Dependencies between apps and shared packages
• Integration points between components
• Authentication flow
• Build and deployment pipeline
Component Details
For each major component, include:
a. Landing App:
• Next.js 14 server actions
• Authentication system
• PWA capabilities
• Analytics integration (Google Analytics, Microsoft Clarity)
b. UI Package:
• Component library with Storybook
• Theme provider
• Testing setup (Jest & RTL)
c. Shared Packages:
• Hooks
• Utils
• TypeScript configs
• ESLint configs
Technical Stack Indicators
• Next.js 14
• TypeScript
• TailwindCSS
• Jest
• Storybook
• Turborepo
Development Workflow
Development workflow with:
• Local development flow
• Testing pipeline
• Build process
• Deployment stages