How loukoumane/manageproject works
This is a Next.js project and task management app: users create projects, invite collaborators, create and assign prioritized tasks, then track task status and completion details. Its main workflow runs from project and task screens through server actions to Prisma and the SQLite database. Project roles gate operations, while Clerk supplies user identity. The README is still the default Next.js template, so product capabilities are inferred from the sampled screens and actions; unsampled action details and route wiring are not assumed.
Main entry points: actions.ts Server actions · app/page.tsx Project dashboard · general-projects/page.tsx Joined projects · ProjectComponent.tsx Project card
Components 16
App screens
- Project dashboard
app/page.tsx - Joined projects
app/general-projects/page.tsx - Project task list
app/project/[projectId]/page.tsx - Create task
app/new-tasks/[projectId]/page.tsx - Edit task
app/edit-task/[taskId]/page.tsx - Task details
app/task-details/[taskId]/page.tsx - Sign in and up
- Project card
app/components/ProjectComponent.tsx
Project and task logic
- Server actions
app/actions.ts - Task and role types
app/lib/task.ts
Identity and permissions
- Role permissions
app/lib/permissions.ts - Permission hook
app/hooks/useProjectPermissions.ts
Data persistence
- Prisma client
app/lib/prisma.ts - SQLite database
dev.db
Other components
- User
- Clerk identity
Connections 21
- User → Project dashboard: manages projects
- User → Joined projects: joins projects
- User → Sign in and up: signs in
- Sign in and up → Clerk identity: authenticates
- Project dashboard → Clerk identity: reads identity
- Joined projects → Clerk identity: reads identity
- Project dashboard → Server actions: creates and lists
- Joined projects → Server actions: joins and lists
- Project task list → Server actions: loads and deletes
- Create task → Server actions: loads and creates
- Edit task → Server actions: loads and updates
- Task details → Server actions: loads and updates status
- Project dashboard → Project card: renders
- Joined projects → Project card: renders
- Project card → Server actions: updates roles
- Project card → Permission hook: checks capabilities
- Permission hook → Role permissions: checks role rules
- Server actions → Role permissions: validates operations
- Server actions → Prisma client: queries and writes
- Prisma client → SQLite database: reads and writes
- Server actions → Task and role types: uses task types