
ai todo app
demo app for ai todo
Repository Info
About This Server
demo app for ai todo
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
AI-Powered Todo Application
A modern todo application with AI integration built using React, Node.js, Express, MongoDB, and Docker.
Features
- Create, read, update, and delete todos
- AI-powered todo suggestions
- Priority-based todo organization
- Due date tracking
- Completed task management
- Docker-based deployment
Tech Stack
- Frontend: React.js with Material-UI
- Backend: Node.js with Express
- Database: MongoDB
- AI Integration: Ollama for AI suggestions
- Containerization: Docker and Docker Compose
Project Structure
.
├── client/ # Frontend React application
├── services/ # Backend services
│ └── mcpService.js # Main service for todo operations
├── models/ # Database models
│ └── Todo.js # Todo model definition
├── server.js # Main Express server
├── docker-compose.yml # Docker configuration
├── Dockerfile # Backend Docker configuration
└── package.json # Project dependencies
Prerequisites
- Node.js (v18 or higher)
- Docker and Docker Compose
- MongoDB
- Ollama (for AI suggestions)
Installation
- Clone the repository:
git clone https://github.com/jeshu/ai-todo-app.git
cd ai-todo-app
- Install dependencies:
# Install backend dependencies
npm install
# Install frontend dependencies
cd client
npm install
- Set up environment variables:
Create a
.envfile in the root directory with:
MONGODB_URI=mongodb://localhost:27017/mcp-todo-app
PORT=5001
- Start the application:
docker-compose up -d
Running the Application
The application will be available at:
- Frontend: http://localhost:3000
- Backend API: http://localhost:5001
API Endpoints
GET /api/todos- Get all todosPOST /api/todos- Create a new todoPUT /api/todos/:id/toggle- Toggle todo completionDELETE /api/todos/:id- Delete a todoPOST /api/ai/suggestions- Get AI suggestionsPOST /api/ai/analyze- Analyze todo listPOST /api/ai/schedule- Schedule todos
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Quick Start
Clone the repository
git clone https://github.com/jeshu/ai-todo-appInstall dependencies
cd ai-todo-app
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.