evandersondev/darto

🐶 Minimal, fast and type-safe web framework for Dart — inspired by Express and Hono.

43Stars on the repository
5Mods indexed here, across every type
1mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

darto-add-route

01

evandersondev/darto

Skill Claude CodeCodex

Add or modify HTTP endpoints in a Darto (Dart) web app — verbs, path/query params, request-body reading, route groups, and Context response helpers. Use when building or changing API routes in a project that depends on the darto package (import 'package:darto/darto.dart'). Not for Express/Node — Darto handlers take a…

43 1mo ago A 90 tokens original MIT

evandersondev/darto

Skill Claude CodeCodex

Scaffold, run, and build a Darto (Dart) web project using the dartocli — create a new project with a NestJS-style module structure, run a hot-reload dev server, compile a production binary, and generate a typed API client. Use when starting a new Darto app, setting up the project layout, or configuring dev/build…

43 1mo ago A 81 tokens original MIT

evandersondev/darto

Skill Claude CodeCodex

Validate the body, query, params, or headers of a Darto (Dart) request using the zValidator middleware and zard (Zod-style) schemas. Use when adding input validation to a Darto endpoint, defining a z.map/z.string/z.int schema, reading validated data with c.req.valid, or customizing the validation error response.…

43 1mo ago A 83 tokens original MIT

evandersondev/darto

Skill Claude CodeCodex

Write and register middleware in a Darto (Dart) app — the Middleware factory pattern, global/path-scoped/route-level registration, short-circuiting, per-request state, and global error/404 handlers. Use when adding cross-cutting behavior (auth, logging, CORS, timing) or configuring app.onError / app.notFound in a…

43 1mo ago A 86 tokens original MIT