A modern, AI-augmented task management dashboard built with React, Vite, and Tailwind CSS/CSS3. This application serves as the primary frontend client for the TaskFlow backend system, providing users with an intuitive, glassmorphic interface to manage their daily workflows, analyze task priorities, and seamlessly integrate with Google Gemini AI for automated task insights.
This project is built as a fully decoupled frontend-backend architecture (service-oriented).
- Frontend Application (Live): https://taskflow.kushan.codes/
- Frontend Source Code: https://github.com/Kushan-shah/TaskFlow-UI
- Primary Backend API (AWS EC2): http://api.taskflow.kushan.codes:8080/swagger-ui/index.html#/
- Fallback Backend API (Render): https://task-manager-api-live.onrender.com/swagger-ui/index.html#/
- Backend Source Code: https://github.com/Kushan-shah/TaskFlow-AI
- Context API State Management: Seamless global state handling for Authentication (
AuthContext) and Toast Notifications (ToastContext), minimizing prop drilling. - Stateless JWT Authentication: Secure frontend routing with protected components. Tokens are securely stored and automatically injected into Axios interceptors.
- Glassmorphism UI: Premium dark-mode aesthetics using backdrop-filters, subtle gradients, and CSS grid/flexbox layouts.
- AI Analytics Dashboard: Real-time data visualization of task completion states using
Recharts. - Dynamic AI Insights: Seamless integration with the TaskFlow AI endpoints, featuring custom Shimmer loading states while waiting for LLM inference.
- Optimized Network Layer: Centralized API request handling using
Axiosinterceptors with automatic 401 unauthenticated redirect handling.
- Component-level memoization using
React.memoanduseCallbackto prevent unnecessary re-renders. - Lazy-loading of module bundles using
React.lazyandSuspensefor lightning-fast initial load times.
- Centralized API error handling via global Axios interceptors.
- Graceful UI fallback states for failed API responses, preventing white-screen crashes.
- Designed to remain responsive even under delayed backend AI responses through non-blocking UI patterns.
The frontend strictly follows a modular, component-driven design:
src/api/: Centralized Axios configurations and endpoint abstractions (tasks.js).src/context/: Global state providers for authentication and UI feedback.src/components/: Reusable UI components (Sidebar, Task Cards, Modals).src/pages/: Primary routing views (Dashboard, Tasks, Login, Register).
Ensure you have Node.js installed, then install the dependencies:
npm installCreate a .env file at the root of the project and point it to the Spring Boot backend:
VITE_API_BASE_URL=http://localhost:8080(In production, set this to the Render API URL).
Launch the ultra-fast Vite development server:
npm run devThe application will be accessible at http://localhost:5173.
To generate static assets for deployment (Vercel/Netlify):
npm run build- Micro-Animations: Implemented pure CSS keyframe animations for modals and shimmer effects to eliminate heavy JS library dependencies.
- Progressive Disclosure: AI summaries and extra details are hidden behind "Analyze" boundaries to prevent overwhelming the user interface.
- Error Boundaries: Unified toast notification system provides immediate, non-blocking feedback for asynchronous API failures.