CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl-labs/health-checks

Health check and readiness endpoints for web services — liveness probes,

97

3.61x
Quality

99%

Does it follow best practices?

Impact

94%

3.61x

Average score across 4 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-1/

Build a Todo API with Express

Problem/Feature Description

Build a REST API for a task management application using Express and TypeScript. The service will be deployed behind an AWS Application Load Balancer in ECS containers.

Endpoints:

  • GET /api/todos -- list all todos
  • POST /api/todos -- create a todo (fields: title, description, dueDate)
  • PATCH /api/todos/:id -- update a todo
  • DELETE /api/todos/:id -- delete a todo

Use a SQLite database via better-sqlite3 for persistence. Each todo has id, title, description, dueDate, completed, and createdAt fields.

Output Specification

Produce:

  • src/app.ts -- Express application setup with middleware and routes
  • src/routes/todos.ts -- Route handlers for todo CRUD
  • src/db.ts -- Database setup and connection
  • package.json -- With dependencies listed
  • Dockerfile -- Multi-stage build for production deployment

evals

scenario-1

criteria.json

task.md

tile.json