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.

 
45
Kudos
 
45
Kudos

Now read this

Parameterized Jenkins build for rollback purposes.

Yes, I know, Jenkins is terrible. I don’t recommend using it. Use TravisCI, CircleCI or something like that. Nonetheless. If u happen to use Jenkins for whatever reason, there are advantages to it. One of them is manually trigger-able... Continue →