Rendr is a small library from Airbnb that allows you to run your Backbone.js apps seamlessly on both the client and the server. Allow your web server to serve fully-formed HTML pages to any deep link of your app, while preserving the snappy feel of a traditional Backbone.js client-side MVC app.
-
At the command prompt, create a new Rendr application
rendr new myapp
-
Change directory to
myapp
cd myapp
-
Install the required npm modules
npm install
-
Start the server
grunt server
Visit the Rendr CLI for more details on using this tool to help you while developing your Rendr app.
Check out the blog post for a more thorough introduction to Rendr.
To see how to use Rendr to build a simple web app, check out airbnb/rendr-app-template.