API FIRST

I enjoyed the monolithic application life. Everything in one place. Gulp files grouping and compiling assets in the same location where my backend dependencies were managed. HTML templates with Backbone.js and Mustache in another directory. Entity mappings right next to the authentication service.

Deployment was easy. One platform, replaces everything.

But then when my queue system needs more resources, the only option is spinning up entire copies of the monolith just to handle that one piece.

Build API first.

It's not 2009.

Put NGINX reverse proxy in front of it.

All problems solved.

❤️
Jake