In this episode, we finally work on using Backbone to render out content from the API onto the screen. We look at using the Handlebars templating language and create two Backbone views, one for an individual book, and another for our book collection.
I recommend viewing this in HD in fullscreen for best viewing.
- Part 1: Set up Express, Mongo and our first route to show all books
- Part 2: Set up a route for viewing a single book and did some tidying of our codebase.
- Part 3: Create a route so new books can be added via a POST request.
- Part 4: Setting up Backbone and creating a model for our books.
The code is on GitHub as always.
If you'd like to discuss this post further or ask any questions, please tweet me.