3 ways to deploy a Django backend with a React frontend : django
We’ve been using https://github.com/owais/django-webpack-loader for a complex production app, and it’s been great. Hot loading just works, multiple bundles become easy to work with, it’s easy to deploy – just add both the Node and Django buildpacks to Heroku, for instance. Recommend reading the linked blog post from the readme, it mentions a number of…
Now we possess been the exhaust of https://github.com/owais/django-webpack-loader for a advanced manufacturing app, and it be been expansive. Sizzling loading just works, just a few bundles change into easy to work with, it be easy to deploy – just add each and each the Node and Django buildpacks to Heroku, as an instance. Recommend reading the linked weblog post from the readme, it mentions a series of factual practices.
On the total, for puny dev groups/startups, and for cases the set up you might well presumably in truth possess a combination of React-pushed pages and pages that attain from Django templates or the Django admin, it be helpful for deploys to be in lockstep, in an effort to possess one branch and one Git repo be conscious your changes to each and each frontend and backend. In another case, you would favor sinful-repo synchronization tooling which will not be repeatedly one thing you would favor home lovely away.
On the end of the day it comes all of the scheme in which down to the monorepo debate, and mileage also can vary!
Subscribe to the newsletter news
We hate SPAM and promise to keep your email address safe