Skip to content

Chamudu/ai-task-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 AI-Powered Task Manager

A modern, full-stack Task Management application that uses AI to break down complex tasks into actionable sub-steps.

Status Tech Stack

📖 Project Overview

This project demonstrates a full-stack web architecture using React (Vite) for the frontend and Node.js (Express) for the backend. The key differentiator is the "AI Copilot" feature, which analyzes task titles and suggests helpful breakdowns or context to improve productivity.

✨ Key Features

  • Modern UI/UX: Glassmorphism design, dark mode, and smooth micro-interactions.
  • REST API: Custom-built Node.js/Express backend handling CRUD operations.
  • Real-time Updates: Instant state management without page reloads.
  • AI Integration: [Coming Soon] Automaticaly generates sub-tasks and tips using LLMs.

🛠️ Technology Stack

Area Technology Reason for Choice
Frontend React + Vite Industry standard for performant SPAs. Vite offers instant HMR.
Styling Vanilla CSS3 Demonstrates mastery of CSS Variables, Flexbox, and complex animations without framework crutches.
Backend Node.js + Express Lightweight, event-driven architecture suitable for real-time applications.
Data In-Memory / PostgreSQL [Current: In-Memory] Fast prototyping. [Future] Robust relational data storage.

🚀 Getting Started

To run this project locally, you need Node.js installed.

1. Clone & Install

git clone https://github.com/yourusername/ai-task-manager.git
cd ai-task-manager

2. Run the Backend (Server)

The server runs on http://localhost:3000.

cd server
npm install
npm run dev

3. Run the Frontend (Client)

The client runs on http://localhost:5173.

cd client
npm install
npm run dev

🏗️ Architecture Design

Folder Structure

The project uses a Monorepo approach for easier development synchronization.

ai-task-manager/
├── client/           # React Frontend
│   ├── src/          # Components & Styles
│   └── public/       # Static Assets
└── server/           # Node.js Backend
    ├── index.js      # Express Application Entry
    └── routes/       # API Route Definitions

API Endpoints

Method Endpoint Description
GET /tasks Retrieve all current tasks.
POST /tasks Create a new task. Accepts { title: string }.
DELETE /tasks/:id [Coming Soon] Remove a specific task.

📚 Future Roadmap & Learning Goals

  • Phase 1: Core Setup (Client-Server connection)
  • Phase 2: Basic CRUD (Read & Create)
  • Phase 3: Delete & Edit Tasks
  • Phase 4: Real AI Integration (OpenAI/Gemini API)
  • Phase 5: Database Persistence (PostgreSQL/MongoDB)
  • Phase 6: Deployment (Vercel/Render)

💡 Lessons Learned

Documenting key technical challenges faced during development.

  • CORS Policies: Learned how to configure Express middleware to allow cross-origin requests between Vite (5173) and Express (3000).
  • State Management: Implemented optimistic UI updates to make the app feel instant before the server responds.
  • Controlled Components: Built custom form logic in React to handle user input validation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published