falcor-express
Server middleware for falcor-express
Working usage example of the basic repro in netflix/falcor-express-demo
Usage
Minimalistic example
var FalcorServer = ;var bodyParser = ;var express = ;var app = ; var TestRouter = <your router here>; appapp; app; var server = app;
Example of using a static model (for development purposes only)
var falcor = ;var FalcorServer = ;var bodyParser = ;var express = ;var app = ; var model = cache: todos: name: 'get milk from corner store' done: false name: 'withdraw money from ATM' done: true ; appapp; app; var server = app;
Development
Before contributing, please run the linter and the tests to be sure there are no issues.
npm run lint
and
npm run test