lwdframework

Last updated:

0 purchases

lwdframework Image
lwdframework Images
Add to Cart

Description:

lwdframework

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', (LWDRequest request) {
return LWDResponse.ok('hello world!');
});

await LWDIO().server(router, address, port);
}
copied to clipboard
Installation #
download and install Dart.
Dart SDK 2.14.0 or higher is required.
$ dart pub add lwdframework
copied to clipboard
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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.