How xvolv/worklyn works
Worklyn is a multi-tenant collaboration platform. Users sign in, create or join a workspace, and work within its tenant boundary to manage projects, tasks, members, and collaboration; dashboards summarize workspace activity. The graph preserves the documented product branches and sampled authentication, workspace creation, project, and task behavior. Many route and page implementations were not sampled, so their detailed call paths are omitted rather than inferred.
Main entry points: auth.ts Auth service · prisma.ts PostgreSQL data · route.ts Create workspace · ProjectsIndexClient.tsx Project directory
Components 21
Entry and identity
- Landing page
app/page.tsx - Sign-in
components/auth/SigninCard.tsx - Sign-up
components/auth/SignupCard.tsx - Browser auth
lib/auth/auth-client.ts - Auth service
lib/auth.ts
Workspace management
- Create workspace
app/api/workspace/route.ts - Workspace selection
components/dashboard/WorkspacesHome.tsx - Workspace context
components/layout/WorkspaceContext.tsx - Workspace APIs
app/api/workspace
Project and task work
- Project directory
components/dashboard/ProjectsIndexClient.tsx - Project creation
components/dashboard/CreateProjectModal.tsx - AI project planner
components/dashboard/AIProjectPlannerModal.tsx - Task management
components/tasks/TasksPageClient.tsx - Workspace dashboard
components/dashboard/DashboardClient.tsx - Project APIs
app/api/dashboard/projects - Task APIs
app/api/dashboard/tasks
Team collaboration
- Members and invites
components/members/MembersPageClient.tsx - Chat and comments
components/chat/TaskComments.tsx
Application services
- PostgreSQL data
lib/prisma.ts - Cloudinary images
lib/cloudinary.ts
Other components
- User
Connections 27
- User → Landing page: visits
app/page.tsx - Landing page → Sign-up: renders
app/page.tsx - User → Sign-in: authenticates
README.md - User → Create workspace: creates workspace
README.md - Create workspace → Auth service: checks session
app/api/workspace/route.ts - Create workspace → PostgreSQL data: creates workspace
app/api/workspace/route.ts - Create workspace → Cloudinary images: uploads cover
app/api/workspace/route.ts - Auth service → PostgreSQL data: uses adapter
lib/auth.ts - Sign-in → Browser auth: uses auth actions
components/auth/SigninCard.tsx - Sign-up → Browser auth: uses auth actions
components/auth/SignupCard.tsx - User → Workspace selection: selects workspace
README.md - User → Members and invites: manages team
README.md - User → Project directory: manages projects
README.md - User → Task management: tracks tasks
README.md - User → Chat and comments: collaborates
README.md - User → Workspace dashboard: reviews activity
README.md - Project directory → Project creation: opens modal
components/dashboard/ProjectsIndexClient.tsx - Project directory → AI project planner: opens planner
components/dashboard/ProjectsIndexClient.tsx - Project directory → Project APIs: deletes project
components/dashboard/ProjectsIndexClient.tsx - Task management → Chat and comments: opens comments
components/tasks/TasksPageClient.tsx - Workspace APIs → Auth service: checks sessions
app/api/workspace/route.ts - Workspace APIs → PostgreSQL data: reads and writes
app/api/workspace/route.ts - Workspace APIs → Cloudinary images: uploads images
app/api/workspace/route.ts - Project APIs → Auth service: checks sessions
app/api/dashboard/projects/route.ts - Project APIs → PostgreSQL data: reads and writes
app/api/dashboard/projects/route.ts - Task APIs → Auth service: checks sessions
app/api/dashboard/tasks/route.ts - Task APIs → PostgreSQL data: reads and writes
app/api/dashboard/tasks/route.ts