spry 3.3.0 copy "spry: ^3.3.0" to clipboard
spry: ^3.3.0 copied to clipboard

Spry is an HTTP middleware framework for Dart to make web applications and APIs server more enjoyable to write.

example/main.dart

import 'package:spry/spry.dart';

final app = Application.late();

void main(List<String> args) async {
  app.get('hello', (request) => 'Hello, Spry!');
  app.get('test', (request) {
    return request.fetch('/hello');
  });

  await app.run(port: 3000);

  print('Listening on http://localhost:3000');
}
10
likes
0
pub points
54%
popularity

Publisher

verified publisherodroe.dev

Spry is an HTTP middleware framework for Dart to make web applications and APIs server more enjoyable to write.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

logging, path, routingkit, webfetch

More

Packages that depend on spry