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
You can see the Hasp usage in the home controller's index action.