A simple Python Flask + vanilla JS TODO app ready for cloud deployment experiments.
cd backendpython -m venv venvsource venv/bin/activate(Windows:venv\\Scripts\\activate)pip install -r requirements.txtpython app.py
Backend runs at http://localhost:5000.
- Open
frontend/index.htmlin a browser via a simple static server (e.g., VS Code Live Server). API_BASE_URLinfrontend/app.jsis set tohttp://localhost:5000; update it if your backend is hosted elsewhere.
GET /api/health— health check.GET /api/todos— list todos.POST /api/todos— create a todo ({ "title": "..." }).PATCH /api/todos/<id>— update fields liketitleorcompleted.DELETE /api/todos/<id>— remove a todo.