How ranjit-kumar27/taskly-app-builder works
Taskly turns a user’s natural-language request into a generated React application: the frontend sends chat requests, the backend generates and streams code, and the browser presents a live preview. The wider product includes project management, authentication, collaboration, deployment, subscriptions, and usage tracking. README statements document several subsystem links whose implementation files were not sampled; those links cite the README rather than implying unsampled source was inspected.
Main entry points: api.ts API client · AiGenerationServiceImpl.java AI generation · App.tsx App router · ProjectView.tsx Project workspace
Components 24
Web application
- App router
frontend/src/App.tsx - Project workspace
frontend/src/pages/ProjectView.tsx - Projects dashboard
frontend/src/pages/ProjectsDashboard.tsx - Chat panel
frontend/src/components/ChatPanel.tsx - Preview panel
frontend/src/components/PreviewPanel.tsx - API client
frontend/src/lib/api.ts - Login and signup
frontend/src/components/LoginModal.tsx
Backend APIs
- Project API
backend/src/main/java/com/ranjit/projects/Taskly/controller/ProjectController.java - Chat API
backend/src/main/java/com/ranjit/projects/Taskly/controller/ChatController.java - Authentication API
backend/src/main/java/com/ranjit/projects/Taskly/controller/AuthController.java
AI generation
- AI generation
backend/src/main/java/com/ranjit/projects/Taskly/service/Impl/AiGenerationServiceImpl.java - Response parser
backend/src/main/java/com/ranjit/projects/Taskly/llm/LlmResponseParser.java
Projects and access
- Project service
backend/src/main/java/com/ranjit/projects/Taskly/service/ProjectService.java - Project collaboration
backend/src/main/java/com/ranjit/projects/Taskly/controller/ProjectMemberController.java - Authentication service
backend/src/main/java/com/ranjit/projects/Taskly/service/Impl/AuthServiceImpl.java
Deployment and billing
- Deployment service
backend/src/main/java/com/ranjit/projects/Taskly/service/Impl/KubernetesDeploymentServiceImpl.java - Billing APIs
backend/src/main/java/com/ranjit/projects/Taskly/controller/BillingController.java - Usage tracking
backend/src/main/java/com/ranjit/projects/Taskly/service/Impl/UsageServiceImpl.java - Redis route lookup
backend/proxy/index.js - Preview proxy
backend/proxy/index.js
Other components
- Builder
- AI model
- Generated app
- Payment gateway
Connections 28
- Builder → App router: uses
README.md - App router → Project workspace: routes to
frontend/src/App.tsx - App router → Projects dashboard: routes to
frontend/src/App.tsx - App router → Login and signup: routes to
frontend/src/App.tsx - Project workspace → Chat panel: presents
- Project workspace → Preview panel: presents
- Chat panel → API client: requests stream
- Preview panel → Generated app: renders preview
README.md - Projects dashboard → API client: loads projects
- Login and signup → API client: authenticates
- API client → Project API: calls REST
frontend/src/lib/api.ts - API client → Chat API: streams SSE
frontend/src/lib/api.ts - API client → Authentication API: calls REST
frontend/src/lib/api.ts - Project API → Project service: delegates
backend/src/main/java/com/ranjit/projects/Taskly/controller/ProjectController.java - Project API → Deployment service: deploys project
backend/src/main/java/com/ranjit/projects/Taskly/controller/ProjectController.java - Chat API → AI generation: requests generation
- AI generation → AI model: generates code
README.md - AI generation → Response parser: parses response
- AI generation → Chat panel: streams code
README.md - Project collaboration → Builder: invites by email
README.md - API client → Project collaboration: calls collaboration API
frontend/src/lib/api.ts - Authentication API → Authentication service: authenticates
- Billing APIs → Payment gateway: handles payments
- AI generation → Usage tracking: tracks consumption
- Usage tracking → Billing APIs: checks limits
- Deployment service → Redis route lookup: stores project URL
README.md - Preview proxy → Redis route lookup: looks up route
backend/proxy/index.js - Preview proxy → Generated app: proxies preview
backend/proxy/index.js