O'Reilly logo

Pro Express.js by Azat Mardan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 22

image

HackHall

The HackHall app is a true MVC application. It has the REST API server with a front-end client that is written in Backbone.js and Underscore. For the purpose of this chapter, we’ll illustrate how to use Express.js with MongoDB via Mongoose ORM/ODM (object-relational mapping/object-document mapping) for the back-end REST API server. In addition, the project utilizes OAuth directly and via Passport, sessions, and Mocha for TDD. It’s hosted on Heroku and is in active development (see the nearby Note).

Image Note  The HackHall source ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required