An AI-powered sprint planning and project management platform built with Next.js 14, Prisma, and Claude AI.
- 🤖 AI Sprint Planning: Generate sprint backlogs from natural language descriptions using Claude Sonnet 4.5
- 🐛 AI Bug Classification: Automatic bug priority classification
- 📋 Kanban Board: Drag-and-drop task management with real-time updates
- 🔗 GitHub Integration: OAuth sign-in and manual task-to-issue sync (see GITHUB_SETUP.md)
- 👥 Multi-tenant: Vertical-based organization structure
- 🔐 Secure Authentication: NextAuth.js with credentials and GitHub OAuth
- 📎 File Attachments: Cloudflare R2 storage integration
- 🎯 Sprint Management: One active sprint per project enforcement
- 📊 Story Points: Track effort estimation
- Frontend/Backend: Next.js 14 (App Router), TypeScript, Tailwind CSS
- Database: Neon Serverless Postgres
- ORM: Prisma
- Auth: NextAuth.js v5
- File Storage: Cloudflare R2
- AI: Anthropic Claude Sonnet 4.5
- State Management: Zustand (Kanban only)
- Drag & Drop: dnd-kit
- Node.js 18+ and npm
- A Neon database account (free tier)
- Anthropic API key
- Cloudflare R2 bucket (optional, for file uploads)
- Clone and install dependencies
cd nexus
npm install- Set up environment variables
Copy .env.example to .env and fill in your credentials:
cp .env.example .envRequired variables:
DATABASE_URL: Your Neon Postgres connection stringNEXTAUTH_SECRET: Generate withopenssl rand -base64 32NEXTAUTH_URL: http://localhost:3000 (for development)ANTHROPIC_API_KEY: Your Anthropic API key
Optional (for file uploads):
R2_ACCOUNT_ID: Cloudflare account IDR2_ACCESS_KEY_ID: R2 access keyR2_SECRET_ACCESS_KEY: R2 secret keyR2_BUCKET_NAME: R2 bucket name
- Set up the database
# Run migrations
npx prisma migrate dev --name init
# Generate Prisma client
npx prisma generate- Create an admin user
After starting the dev server, register a user, then manually update their role in the database:
UPDATE users SET role = 'admin' WHERE email = 'your-email@example.com';- Start the development server
npm run devVisit http://localhost:3000
nexus/
├── app/ # Next.js app directory
│ ├── (auth)/ # Authentication pages
│ ├── (dashboard)/ # Protected dashboard pages
│ └── api/ # API routes
├── components/ # React components
│ ├── ui/ # Base UI components
│ ├── kanban/ # Kanban board components
│ └── ...
├── lib/ # Utilities
│ ├── auth/ # Auth configuration
│ ├── ai/ # AI utilities (Claude)
│ └── storage/ # R2 storage client
├── server/ # Server-side code
│ ├── actions/ # Server actions
│ └── queries/ # Database queries
├── prisma/ # Database schema
└── types/ # TypeScript types
- Create Verticals: Organize your teams into verticals
- Assign Users: Add users to verticals
- Create Projects: Create projects within verticals
- Add Members: Assign users to projects
- Create Sprints: Set up sprint cycles
- AI Sprint Planning: Use natural language to generate tasks
- Activate Sprint: Start working on tasks
- View Projects: See assigned projects on dashboard
- Manage Tasks: Create, update, and move tasks on Kanban board
- Collaborate: Add comments and attachments
- Track Progress: Monitor sprint progress
Describe your feature in natural language, and Claude will generate:
- User stories with story points
- Breakdown tasks for each story
- Organized backlog ready for sprint
When creating a bug task, Claude automatically:
- Analyzes the bug description
- Assigns appropriate priority (low/medium/high/critical)
- Updates the task in real-time
- Users: Authentication and authorization
- Verticals: Top-level organization units
- Projects: Vertical-specific projects
- Sprints: Time-boxed iterations (one active per project)
- Tasks: Work items with hierarchy (stories → tasks)
- Comments: Task discussions
- Attachments: File uploads linked to tasks
- Push to GitHub
- Import repository in Vercel
- Add environment variables
- Deploy
The database migrations will run automatically during build.
# Build for production
npm run build
# Run migrations
npx prisma migrate deploy
# Start production server
npm start| Variable | Description | Required |
|---|---|---|
| DATABASE_URL | Neon Postgres connection string | Yes |
| NEXTAUTH_SECRET | Secret for NextAuth.js | Yes |
| NEXTAUTH_URL | Application URL | Yes |
| ANTHROPIC_API_KEY | Claude API key | Yes |
| R2_ACCOUNT_ID | Cloudflare account ID | No |
| R2_ACCESS_KEY_ID | R2 access key | No |
| R2_SECRET_ACCESS_KEY | R2 secret key | No |
| R2_BUCKET_NAME | R2 bucket name | No |
- Hosting (Vercel): Free tier
- Database (Neon): Free tier (3GB)
- Storage (R2): Free tier (10GB)
- AI (Anthropic): Pay per use (~$0.003 per 1K tokens)
Expected monthly cost: $0-5 for small teams
MIT
Contributions welcome! Please open an issue or PR.