O'Reilly logo

Full Stack JavaScript: Learn Backbone.js, Node.js and MongoDB, Second Edition 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 8

image

Putting It All Together

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

Brian W. Kernighan

In this chapter, we’ll cover:

  • Adding CORS for Different Domain Deployment
  • Message Board UI
  • Message Board API
  • Deployment to Heroku
  • Same Domain Deployment Server
  • Deployment to Amazon Web Services

Now, it would be good if we could put our front-end and back-end applications so they could work together. There are a few ways to do it:

  • Different domains (Heroku apps) for front-end and back-end apps: make sure there are ...

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