spry 8.5.0-alpha.1
spry: ^8.5.0-alpha.1 copied to clipboard
Next-generation Dart server framework. Build modern servers and deploy them to the runtime you prefer.
Examples #
Spry examples are organized by runnable scenario.
dart_vm/: the canonical local example with routes, middleware, hooks, public assets, scoped middleware, and scoped error handlingopenapi/: a focused example that generatespublic/openapi.jsonwith documentcomponentsand route-levelglobalComponentsclient_example/: a focused client generation example with a pairedserver/app and generatedclient/package, documented in client_example/README.mdnode/: the smallest Node.js target examplebun/: the smallest Bun target exampledeno/: the smallest Deno target examplecloudflare/: the smallest Cloudflare Workers target examplevercel/: the smallest Vercel target examplenetlify/: the smallest Netlify Functions target exampleknex_dart/: Spry withknex_dart_sqlitefor a simple SQLite-backed API
Run any example like this:
cd example/<name>
dart pub get
dart run spry serve
Or build it explicitly:
cd example/<name>
dart pub get
dart run spry build