An AI-powered task management system that supports real-time updates, user authentication, and intelligent task suggestions using OpenAI/Gemini API. Built with Golang (Fiber) for the backend and Next.js (TypeScript + Tailwind CSS) for the frontend.
- ✅ User Authentication – Secure JWT-based login and session management.
- ✅ Task Management – Create, assign, update, and track tasks.
- ✅ Real-Time Updates – WebSockets for live task synchronization.
- ✅ AI-Powered Suggestions – Use OpenAI/Gemini to suggest task breakdowns.
- ✅ Modern UI – Intuitive and responsive task dashboard with Tailwind CSS.
- ✅ Cloud Deployment – Deployed on Render (backend) and Vercel (frontend).
task-management-ai/
├── backend/ # Golang backend (Fiber Framework)
│ ├── api/ # REST API (Auth, Task APIs)
│ ├── internal/ # Business logic (DB, WebSockets)
│ ├── go.mod # Go module configuration
│ └── main.go # Entry point for backend
└── frontend/ # Next.js (TypeScript) frontend
├── components/ # Reusable UI components
├── lib/ # API calls (Axios-based)
├── pages/ # Next.js pages (index, auth)
└── tailwind.config.js
- Go (Fiber Framework)
- PostgreSQL (or MongoDB)
- JWT Authentication
- WebSockets (Gorilla)
- OpenAI/Gemini API (for AI tasks)
- Next.js (TypeScript)
- Tailwind CSS
- Axios (API Communication)
- JWT (Client-side Auth)
- WebSockets (Real-Time Updates)
git clone https://github.com/Pragya81/task_management_AI.git
cd task-management-aicd backend
go mod tidyPORT=8080
DB_URL=your_database_url
JWT_SECRET=your_jwt_secret
OPENAI_API_KEY=your_openai_api_key
go run main.gocd ../frontend
npm installNEXT_PUBLIC_API_URL=http://localhost:8080
NEXT_PUBLIC_WEBSOCKET_URL=ws://localhost:8080/ws
OPENAI_API_KEY=your_openai_api_key
npm run dev- Backend Deployment (Render/Fly.io)
- Set up the backend using Docker or native deployment.
- Frontend Deployment (Vercel)
- Link your frontend to Vercel for a seamless Next.js deployment.
| Method | Endpoint | Description | Auth Required |
|---|---|---|---|
| POST | /api/auth/register |
Register a new user | |
| POST | /api/auth/login |
Login and get a token | |
| GET | /api/tasks |
Fetch all tasks | ✅ Yes |
| POST | /api/tasks |
Create a new task | ✅ Yes |
| PATCH | /api/tasks/:id |
Update a task | ✅ Yes |
| DELETE | /api/tasks/:id |
Delete a task | ✅ Yes |
- Uses OpenAI/Gemini API for task suggestions.
- Automatically suggests subtasks and categorizes them based on priority.
- Docker & Kubernetes for scalable deployment.
- Slack/Discord bot for task notifications.
- Automate task prioritization with AI.
- Role-based access control (RBAC).
- Fork the repo.
- Create a feature branch:
git checkout -b feature/new-feature. - Commit changes:
git commit -m "Add new feature". - Push to branch:
git push origin feature/new-feature. - Open a pull request.