Building an App with Express and Backbone: Part 8

In this episode I take you through the process of adding structure using RequireJS. Rather than take you through it in real time (the process of me converting it all would not have made great viewing), I walk you through the code after I've made the changes and explain how it works.

I recommend viewing this in HD in fullscreen for best viewing.


Previous Parts:

  • 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.
  • Part 5: Adding Backbone views and rendering data to the frontend.
  • Part 6: Adding structure with the Backbone Router
  • Part 7: Adding a route for viewing an individual book

The code is on GitHub as always.



Don't miss my latest course, React in Five! This course will help you level up your React skills by covering lesser known parts of the React API. Each video is less than five minutes long, and the first four are free to watch. Get started now.


Subscribe to keep up to date with the latest content.

Join the JS Playground mailing list to be kept up to date with the latest tutorials, screencasts and more. You won't be spammed and you can unsubscribe at any time.


Headshot of Jack Franklin

Jack is JavaScript and React developer in London. He's also a keen Elm enthusiast, conference speaker and tweets far too often.