jet 0.0.1 copy "jet: ^0.0.1" to clipboard
jet: ^0.0.1 copied to clipboard

Lightweight framework for building performant and scalable web applications.

Jet #

Jet leverages the powerful features of the Dart programming language and fuses them with functional concepts to provide a lightweight fabric for building fast and performant web applications.

Example #

Using the Jet application interface, you can get your web application up and running in no time. Here's a simple example.

import 'dart:async';

import 'package:jet/jet.dart';

class Example implements Middleware {
  @override
  Future<Context> resolve(Context context, Resolver next) async => context
    .setResponse(Response.text('Hello, Jet!'));
}

Future main() async => listen(middleware: [
  Example()
]);

To run this example, simply paste the code into a file and let Dart evaluate it. You should then be able to fire up your favorite browser and navigate to localhost:9000 to see the example application in action.

0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Lightweight framework for building performant and scalable web applications.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

built_collection

More

Packages that depend on jet