Skip to content

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

License

Notifications You must be signed in to change notification settings

Netflix/falcor-express-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published