spry 8.2.0
spry: ^8.2.0 copied to clipboard
Next-generation Dart server framework. Build modern servers and deploy them to the runtime you prefer.
example/README.md
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 handlingnode/: 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