falcor_dart

Build Status

This is Falcor router implementation for dart.

And as the falcor team states: This release is a developer preview.

Usage

A simple usage example:

import 'package:falcor_dart/falcor_dart.dart';

main() {
  final router = new Router([
      route(
        // match a request for the key "greeting"
        'greeting',
        // respond with a PathValue with the value of "Hello World."
        get: (path) {
          return {
            'path': ['greeting'],
            'value': 'Hello World'
          };
        }
      )
  ]);
}

More information

For in-depth information on the Falcor Router, see the Router Guide in the Falcor Website.

Features and bugs

This release contains all the issues and feature requests from falcor-router.

Please file feature requests and bugs at the issue tracker.

Libraries

falcor_dart
falcor_dart.path_syntax
falcor_dart.shelf