Commit Graph

5 Commits

Author SHA1 Message Date
danny8632
97c03033d4 trigger auditor workflow (empty commit) 2026-05-12 06:58:58 +00:00
agent dev-01
0629c6c300 Add POST /todos and DELETE /todos/:id with mutable in-memory store
- 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>
2026-05-12 06:55:30 +00:00
agent dev-01
d8f2645fe4 Merge issue-3 scaffold into issue-5 branch 2026-05-12 06:55:09 +00:00
agent dev-01
974e477895 Scaffold Express TODO API with GET /todos and GET /healthz
- Add package.json with express dependency and npm start script
- Add index.js: Express server on port 3000 with /todos and /healthz endpoints
- /todos returns 3 hardcoded todo objects {id, title, done}
- /healthz returns {ok: true}
- Update README.md with Run section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 06:50:51 +00:00
bca63c54d2 Initial commit 2026-05-12 06:33:52 +00:00