/falcor-hapi-demo

Demonstration Falcor end point using Hapi

Primary LanguageHTMLApache License 2.0Apache-2.0

Falcor Hapi Middleware Demonstration

This project is a demonstration of how to create a stateless Virtual JSON Graph object on your application server using a Falcor Router and some hapi middleware.

Getting Started

clone repo
npm install
npm start
open your browser and visit http://localhost:9090

This will download a webpage which makes several requests from data from the model.json resource on the application server, and prints the results to the console. You will not see anything on your screen until you open up the developer console. Checkout the source of the website to see what types of operations can be performed on the model.json file on the server.

For more information on how the Router works and the structure of model.json, see the Router source at https://github.com/Netflix/falcor-router-demo.