Battle testing Deno v2 with a simple REST API for managing todos.
- CRUD Operations: Create, read, update, and delete todos.
- Data Validation: Zod-based schema validation
- In-Memory Database: Fast and lightweight for local development.
deno run dev
deno run test
- GET /api/todos - Retrieves all todos.
- GET /api/todos/:id - Retrieves a specific todo by ID.
- POST /api/todos - Creates a new todo
- PUT /api/todos - Creates a new todo.
- PATCH /api/todos/:id - Updates a specific todo by ID.
- DELETE /api/todos/:id - Archives a specific todo by ID.