router.get("/todos", async (req, res) => const items = await dbClient.query<Todo>("SELECT id, title, done FROM todos ORDER BY created_at DESC LIMIT $1", [50]); res.json(items); );

export const router = Router();

References and further reading (Conceptual platform — references omitted.)

deploy TodoService -> cluster "prod-cluster" replicas: 3 resources: cpu: "500m", memory: "512Mi" autoscale: min: 2, max: 8, cpuThreshold: 70 env: DATABASE_URL: secret(db.conn)

— End of paper —