0629c6c300251def934d3ecb31e33f4e8378bb4f
- Change const todos to let for mutability
- Add express.json() middleware for body parsing
- Add nextId counter starting at 4 (after seed data)
- POST /todos: accepts {title}, returns 201 with {id, title, done:false}
- DELETE /todos/🆔 returns 204 on success, 404 if not found
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
todo-app
Throwaway playground for the agent-coding-empire v0. Built end-to-end by autonomous dev agents from PM-authored issues.
Run
npm install && npm start
The server starts on port 3000.
GET /todos— returns a JSON array of todo itemsGET /healthz— returns{ "ok": true }
Languages
Markdown
100%