spry 3.3.0 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.
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');
}