TaskFlow is a modern, minimal, and production-ready Project Management Dashboard built with Next.js 15+, TypeScript, and Tailwind CSS. It features secure authentication, role-based access control (RBAC), task tracking, and a clean component-based architecture.
-
Vercel (Recommended) https://task-flow-mu-pied.vercel.app
- Secure authentication using Clerk
- Sign Up / Sign In flow
- Protected dashboard routes
- Create and manage multiple projects
- Organized project-based workflow
-
Create tasks inside projects
-
Update task status:
- TODO
- IN_PROGRESS
- DONE
- Create projects
- Create tasks
- Update task statuses
- View projects
- View tasks
- Read-only access
- Clerk users automatically sync with PostgreSQL database on first login
- Minimal dark SaaS-style dashboard
- Responsive layout
- Clean typography and reusable components
| Technology | Usage |
|---|---|
| Next.js 15+ | Frontend Framework |
| TypeScript | Type Safety |
| Tailwind CSS | Styling |
| Clerk | Authentication |
| Prisma | ORM |
| PostgreSQL | Database |
| Supabase | Database Hosting |
| Railway | Deployment |
| Vercel | Production Demo Hosting |
git clone <your-repository-url>
cd taskflownpm installCreate a .env file in the root directory:
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_publishable_key
CLERK_SECRET_KEY=your_secret_key
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/
# Database
DATABASE_URL=your_database_url
DIRECT_URL=your_direct_database_urlnpx prisma generate
npx prisma db pushnpm run devOpen:
http://localhost:3000
- First registered user automatically becomes
ADMIN - All subsequent users become
MEMBER - Backend APIs enforce RBAC protection
- Unauthorized mutation requests are blocked server-side
app/
├── api/ # Backend API routes
├── dashboard/ # Dashboard pages
├── sign-in/ # Clerk sign-in
└── sign-up/ # Clerk sign-up
components/
└── dashboard/ # Reusable dashboard components
prisma/
├── schema.prisma
└── migrations/
src/
└── lib/
└── prisma.ts
- Team collaboration
- Notifications
- Due dates
- Activity logs
- Kanban board
- File attachments
Built by Amit Kumar