A Full-Stack Project Management & Real-Time Kanban Platform powered by AI
Real-Time Collaboration ยท AI Task Contextualization ยท Role-Based Access Control
๐ Live Demo ยท ๐ Report Bug ยท ๐ก Request Feature ยท ๐ Contributing
- Overview
- Application Showcase
- Tech Stack
- Core Features & Capabilities
- Technical Highlights
- System Architecture & Directory Structure
- Live Demonstration
- Local Development Setup
TaskFlow AI is a distributed, real-time employee and project management ecosystem designed to eliminate friction in modern agile workflows. Engineered with the MERN stack and designed for massive concurrency, it transforms static task lists into a living, breathing workspace.
By natively integrating Llama-3 via the Groq API, the platform autonomously acts as a virtual Project Managerโbreaking down complex directives into actionable checklists, intelligently routing tasks, and automatically assigning priorities.
Designed from the ground up to demonstrate production-ready Full-Stack proficiency, event-driven architecture, AI/ML API integration, and seamless 3rd-party deployments across Vercel and Render.
Instead of managers spending hours writing tickets, the AI reads a 3-word title and instantly generates a highly-technical, markdown-formatted sub-task checklist. It also automatically infers priority.

Built on WebSockets (Socket.io). When an admin drags a card across the board, the exact pixel-perfect update instantly reflects on all connected employee screens globally without any HTTP polling.

Aggregating thousands of task data points from MongoDB into beautiful, interactive Recharts visualizations to track team velocity and workload distribution.

Strict JSON Web Token (JWT) stateless authentication delineates Admin privileges from Employee execution boundaries, ensuring data integrity across multiple active project environments.

Frontend
- React (Vite): Fast, modern UI library for rendering dynamic interfaces.
- Tailwind CSS: Utility-first styling for highly responsive layouts.
- Framer Motion: Smooth micro-animations and transitions.
- Hello-Pangea/dnd: Robust drag-and-drop mechanics for the Kanban board.
- Recharts: Interactive and highly customizable data visualizations.
Backend
- Node.js & Express.js: Scalable server architecture.
- MongoDB & Mongoose: Flexible NoSQL database and Object Data Modeling.
- Socket.io: Duplex WebSockets for real-time state synchronization.
- Groq API (Llama-3.1): High-speed LLM integration for AI-powered generation.
DevOps & Security
- JSON Web Tokens (JWT): Stateless authentication.
- Bcrypt: Cryptographic password hashing.
- Vercel: Edge-network frontend deployment.
- Render: PaaS backend hosting.
- ๐ง Autonomous AI Task Orchestration: Seamlessly integrates with the lightning-fast Groq API (Llama-3.1). Submit a vague task, and the AI automatically infers priority, categorizes the workload, and generates structured checklists.
- โก Zero-Latency WebSockets Synchronization: Event-driven architecture replaces standard REST polling. Every drag, drop, and status change is broadcasted via a duplex
Socket.ioconnection to all connected clients. - ๐ Multi-Tier Authorization & RBAC: Employs middleware-level route protection delineating
Adminprivileges (user approval, global analytics) fromEmployeeexecution boundaries. Includes a robust manual Admin Approval Workflow to prevent unauthorized registration. - ๐ Interactive Analytics Engine: Leverages
Rechartsto process unstructured NoSQL data into actionable insights, featuring dynamic burndown charts and real-time status distributions.
As a Full-Stack Software Engineer, this project was architected to solve complex, real-world engineering challenges:
- ๐ค Prompt Engineering & Deterministic AI: Architected a custom API wrapper that enforces strict formatting outputs from LLMs. The AI acts as an autonomous PM, successfully converting ambiguous user inputs into 10-step actionable technical checklists with calculated priorities.
- ๐๏ธ Race-Condition Mitigation: Overcame race conditions in React state management by decoupling local optimistic UI updates from the server-side WebSocket broadcasts, resulting in a butter-smooth drag-and-drop experience (
@hello-pangea/dnd). - ๐ก๏ธ Security & Data Integrity: Implemented production-level security including JWT stateless authentication,
bcryptpassword hashing, strict CORS policies, environment variable encryption, and robust Mongoose Schema validation. - ๐ฑ Responsive UI/UX Engineering: Built a complex, heavy-data React dashboard utilizing custom Tailwind CSS grids, Flexbox layouts, and Framer Motion micro-animations that remains entirely functional on mobile devices.
TaskFlow AI is a monorepo divided into a decoupled client and server to allow independent horizontal scaling.
Task-Assignment-Workflow-Management-System/
โโโ ems/ (Client Application)
โ โโโ src/
โ โ โโโ api/ # Axios interceptors and centralized REST API calls
โ โ โโโ components/ # Modular, reusable React components (Auth, Dashboard, Modals)
โ โ โโโ context/ # React Context for global state (AuthContext, SocketContext)
โ โ โโโ utils/ # Helper functions and formatter utilities
โ โโโ package.json # Vite & React dependencies
โ โโโ tailwind.config.js# Custom design system tokens
โ
โโโ ems/backend/ (Server Application)
โโโ controllers/ # Business logic (aiController, taskController, userController)
โโโ middleware/ # JWT verification, Role-based access checks, Error handling
โโโ models/ # Mongoose NoSQL Schemas (User, Task, Project)
โโโ routes/ # Express API route definitions
โโโ .env # Encrypted secrets (Mongo URI, Groq API Key, JWT Secret)
โโโ index.js # Express server initialization and Socket.io mounting
graph TD
Client[React + Vite Frontend] <-->|REST API + WebSockets| Server[Node.js + Express Backend]
Server <-->|Mongoose ODM| DB[(MongoDB Atlas Cloud)]
Server <-->|Groq API| AI[Llama-3.1 LLM]
Client -->|Deployed on| Vercel[Vercel Edge Network]
Server -->|Hosted on| Render[Render PaaS]
The application is fully deployed. Because the backend is hosted on a free cloud tier, it may take ~50 seconds for the server to wake up on your first click.
๐ Live URL: https://task-flow-ai-self.vercel.app
For convenience during evaluation, the platform includes pre-configured portals. Bypass the registration workflow by clicking the "Test as Admin" or "Test as Employee" buttons on the login screen.
If you wish to run the architecture locally for code review:
git clone https://github.com/Omcodesk/Task-Assignment-Workflow-Management-System.git
cd Task-Assignment-Workflow-Management-System/emscd backend
npm install
# Create environment configuration
cat << EOF > .env
NODE_ENV=development
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=super_secure_secret_token
GROQ_API_KEY=your_groq_llama3_key
EOF
# Initialize Database with Seed Data
node seedDemo.js
# Start Development Server
npm run dev# Open a new terminal instance
cd ../
npm install
npm run devNavigate to http://localhost:5173.
Software Developer | Full-Stack Engineer | AI/ML Enthusiast
