AI To Do List
Turn any goal written in natural language into a structured, actionable to-do list. Powered by OpenAI.
What works now
- Frontend UI: gradient header, glassmorphism goal card, textarea, “Generate Plan” button
- Live character counter (updates on every keystroke)
- Loading spinner while waiting for the backend
- Error box for empty input, auto-clears on retry
- Backend: Express server serving
/docsand exposingGET /api/health -
POST /api/generate- validates the goal (non-empty, max 500 chars) and returns a hardcoded JSON plan with three tasks - GitHub Pages previews the static UI
No AI yet - the endpoint exists so the data shape and client flow can be tested first.
What’s next
- Connect OpenAI
gpt-4o-miniwith Structured Outputs (JSON Schema) - Replace the fake response in
/api/generatewith a real model call - Replace the frontend placeholder with a real
fetch()to the backend - Render task cards: title, description, priority, time, dependencies
- Checkbox + progress bar + total time
- Priority statistics
- Save plan to
localStorage - Polish, mobile pass, deploy
Stack
- Frontend: HTML, CSS, vanilla JS
- Backend: Node.js, Express 5
- AI: OpenAI gpt-4o-mini, Structured Outputs (planned)
- Persistence:
localStorage(planned) - Preview: GitHub Pages (
/docs)
Try It
Live Demo - UI only, backend not connected yet
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.