Thank you! I had the same problem and your post has helped me figure out what I needed to do for my project. Although I did encounter a problem on pushing the subtree. This has worked for me:git subtree push --prefix <NAME OF BACKEND FOLDER> heroku master. I did deploy my frontend on Netlify and that was also more straightforward like the Github pages.
git subtree push --prefix <NAME OF BACKEND FOLDER> heroku master
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.