How niketkakkar03/crackbot works
Main System Components
A. Client Layer
• Next.js frontend architecture with three main sections:
• Landing Section (/(landing))
• Authentication Section (/(auth))
• Dashboard Section (/(dashboard))
B. API Layer
• API routes under /api:
• Conversation API
• Code API
• Image API
C. Services Layer
• Services directory components:
• Article Service
• Providers Service
• Store Service
Component Organization
[Client Layer]
• Landing Section
• Hero Component
• Navigation
• Auth Section
• Sign In
• Sign Up
• Dashboard Section
• Conversation
• Code Generation
• Image Generation
• Summary Generation
[API Layer]
• /api/conversation
• /api/code
• /api/image
[Services Layer]
• Article Service
• Providers
• Store
Key Relationships to Highlight
• How the dashboard routes interact with their corresponding API endpoints
• Authentication flow between the auth section and the dashboard
• Demonstrate how the services layer supports both the API and client layers
• Relationship between UI components and their parent layouts
Technical Stack Indicators
Badges or labels for:
• Next.js
• TypeScript
• Tailwind CSS
• Clerk Authentication
• AI Services Integration