Decoupling frontend from backend

Hopefully, you’ll not find anything revolutionary or cutting edge in this article, but in case you’ve been working on a X-year long project in a conservative organisation, you might find these words useful.

 How to keep frontend separate from backend?

Simple. Treat them as two different apps from day one.

In your organisation, frontend will likely be on separate server(s) from backend. Likely developed by completely different teams, individuals.
Actually, the fact that frontend is developed by different ppl from backend, is the key reason to keep in in a separate repo, in a separate server, in a separate production environment.

 
44
Kudos
 
44
Kudos

Now read this

Multi-feature staging environment(s)

It is hard to work on several versions of a web app and demo them to other people on the Internet (or in an organization). In other words: how do you elegantly deploy all of your git branches and make them accessible on the Internet? The... Continue →