koa-falcor
Koa Middleware for Hosting Falcor Data Sources.
dataSourceRoute
is port from falcor-express.
Installation
npm install koa-falcor koa koa-route --save
Usage
const falcor = const Koa = const route = const app = app app
Then access the JSON Graph via http://localhost:3000/model.json?paths=[["greeting"]]&method=get
Create Router Manually
npm install koa-falcor koa koa-bodyparser koa-route falcor-router --save
const dataSourceRoute = const bodyParser = const Koa = const route = const Router = const app = appapp app