alpha
Login
or
Join now
cameron.stream
/
demo-todo-api
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/just-cameron/demo-todo-api. A demo todo application.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
demo-todo-api
/
src
3 folders
1 file
at
main
letta-code
fix: add input validation to prevent empty todos
6mo ago
b534175a
middleware
fix: make token comparison case-insensitive The auth middleware was rejecting valid tokens like 'Demo-Token-123' because the comparison was case-sensitive. Now uses toLowerCase() for comparison. Fixes #3 Co-authored-by: Cameron <cpfiffer@users.noreply.github.com>
6 months ago
routes
fix: add input validation to prevent empty todos - Validate that title exists and is a string - Validate that title is not empty after trimming whitespace - Return 400 error with helpful message on validation failure Fixes #2 Co-authored-by: Cameron <cpfiffer@users.noreply.github.com>
6 months ago
types
Initial commit: Demo Todo API for Letta Code Action video A simple Express + TypeScript Todo API with intentional issues for the Letta agent to discover during the YouTube demo: - Auth middleware with case-sensitivity bug - Missing input validation on POST /todos - Pre-configured Letta Code Action workflow - Video script with talking points 🐾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta <noreply@letta.com>
6 months ago
index.ts
fix: add input validation to prevent empty todos - Validate that title exists and is a string - Validate that title is not empty after trimming whitespace - Return 400 error with helpful message on validation failure Fixes #2 Co-authored-by: Cameron <cpfiffer@users.noreply.github.com>
6 months ago