lwdframework 0.2.0 copy "lwdframework: ^0.2.0" to clipboard
lwdframework: ^0.2.0 copied to clipboard

outdated

Lightweight Dart Framework is an api restful framework for dart and flutter developers.

LWD-Framework Lightweight Dart Framework is an api restful framework for dart and flutter developers.

import 'package:lwdframework/lwd.dart';
import 'package:lwdframework/lwdio.dart';

Future<void> main(List<String> arguments) async {
  final address = '127.0.0.1';
  const port = 4040;
  var router = LWDRouter();
  router.get('/greeting', (HttpRequest request) {
    return LWDResponse.ok('hello world!');
  });

  await LWDIO().server(router, address, port);
}

Installation #

download and install Dart. Dart SDK 2.7.0 or higher is required.

$ dart pub add lwdframework

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get): dependencies: lwdframework: ^0.1.0

1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Lightweight Dart Framework is an api restful framework for dart and flutter developers.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, path_to_regexp

More

Packages that depend on lwdframework