A full-stack, AI-enhanced task & workspace manager with real-time collaboration, AI-driven task summarization & deadline suggestions, and production-ready CI/CD. Built with Next.js + React Query (frontend), NestJS + PostgreSQL + Redis (backend + workers), OpenAI for LLM features, and Docker + GitHub Actions for CI/CD and deployment.
Concise goal: let teams create, prioritize, and track work faster — with AI that summarizes work, suggests deadlines & estimates, and helps create task templates.
👉 GitHub: https://github.com/sumaiyashah27/ai-task-manager.git
- Tech Stack
- Getting Started — Local
- Environment Variables
- Docker and Local Dev
- Database and Migrations
- Running Workers
- CI / CD
- Architecture Overview
- File Structure
- AI Integration and Prompts
- Testing
- Contributing
- Roadmap
- Useful Links & Resources
- License
Frontend
- Next.js (React) + React Query
- Tailwind / CSS Modules
Backend
- NestJS (TypeScript)
- PostgreSQL (Prisma)
- Redis (caching + queues)
- BullMQ for background jobs
AI
- OpenAI API (LLMs) — audited responses stored in AiAudit
Infra
- Docker + docker-compose
- GitHub Actions CI/CD
- Deploy to Render / AWS / GCP
- Clone repo:
git clone https://github.com/sumaiyashah27/ai-task-manager.git
cd ai-task-manager- Copy env:
cp .env.example .env- Start stack:
docker-compose up --build- Run migrations & seed:
npm run migrate
npm run seed- Open:
- Frontend: http://localhost:3000
- API: http://localhost:4000
Place values in .env (do not commit secrets):
NODE_ENV=development
PORT=4000
DATABASE_URL=postgresql://postgres:password@postgres:5432/ai_task_manager?schema=public
REDIS_URL=redis://redis:6379
JWT_ACCESS_SECRET=...
JWT_REFRESH_SECRET=...
OPENAI_API_KEY=sk-...
FRONTEND_URL=http://localhost:3000
apps/backend/Dockerfile,apps/frontend/Dockerfile,apps/worker/Dockerfiledocker-compose.ymlorchestrates Postgres, Redis, backend, frontend, worker
Commands:
docker-compose build
docker-compose up -d
docker-compose logs -f backendUsing Prisma:
npx prisma generate
npx prisma migrate dev --name init
npx prisma migrate deploydocker-compose up worker
# or
cd apps/worker && npm run start:dev.github/workflows/ci.yml— lint, test, build.github/workflows/cd.yml— build & deploy, run migrations
- Frontend: Next.js + React Query
- API: NestJS modular services
- DB: PostgreSQL + Prisma
- Queue: Redis + BullMQ
- AI: OpenAI via
ai.service(audited)
ai-task-manager/
├─ apps/
│ ├─ frontend/ # Next.js
│ ├─ backend/ # NestJS
│ └─ worker/ # BullMQ
├─ packages/ # shared libs (common, ui)
├─ prisma/
├─ infra/
├─ scripts/
├─ tests/
└─ docs/
API endpoints:
POST /tasks/:id/ai/summarize→{ summary, model, promptPreview, confidence }POST /tasks/:id/ai/suggest-deadline→{ suggested_due_date, rationale, confidence }
AI calls are queued and responses stored in AiAudit for explainability. Keep prompts versioned in docs/prompts.md.
- Unit tests, integration tests, E2E (Playwright/Cypress)
Run:
cd apps/backend && npm test
cd apps/frontend && npm test- Fork & create branch
feat/... - Run tests & linters
- Open PR and link issue
- AI audit & cost controls
- Semantic search (embeddings)
- Mobile / PWA
- Enterprise features (SAML/SCIM)
docs/api.md— API referencedocs/prompts.md— prompt librarydocs/architecture.md— diagrams
MIT © sumaiyashah27