What are you using for your front-end? You could build your front-end as a static files and put them on Netlify of Firebase or AWS or where ever you want. Then, you could communicate with your back-end via REST endpoints where this code could live separately from your front-end.