spry 7.0.0
spry: ^7.0.0 copied to clipboard
Next-generation Dart server framework. Build modern servers and deploy them to the runtime you prefer.
Examples #
Minimal file-routing example with:
routes/- global middleware
- scoped middleware
- scoped error handling
hooks.dart
Run it like this:
cd example
dart pub get
dart run spry build
dart run .spry/main.dart
Or use the CLI serve command:
cd example
dart pub get
dart run spry serve
Alternative runtime configs:
dart run spry build --config cloudflare.config.dart
dart run spry serve --config vercel.config.dart