Question
My application will need to serve static content and also expose an API for serving and posting data. How do I separate these into different NodeJS process/instances but have them use the same port and base URL
From what I’ve read, I could use Nginx to accomplish this but I’m worried about how I’ll deploy this to hosts like Heroku.
Thanks all.