Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Falcor Express 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 express middleware.

Getting Started

Clone the repo: https://github.com/Netflix/falcor-express-demo.git

cd falcor-express-demo
npm install
npm start

Open your browser and visit: http://localhost:9090

Notes

Changing the index.html file will refresh the browser automatically using LiveReload. Changing the server index.js file will restart the server using nodemon.

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.

About

Demonstration Falcor end point for a Netflix-style Application using express

Resources

Stars

260 stars

Watchers

425 watching

Forks

Releases

Packages

Used by

Contributors

Languages