How to deploy separated frontend and backend? How to deploy separated frontend and backend? node.js node.js

How to deploy separated frontend and backend?


I just answered a related question for AWS.

You can deploy

You can set different subdomains on different hosts, e.g.

  • app.domain.com on GitHub Pages
  • api.domain.com on Heroku