I used to develop my app with express and ejs. With this configuration, I don’t really have a front/back-end separation.
I recently started learning React and with it the separation of the backend with my API, database, ... and the front-end with my react app.
So, I was wondering, do I need to separate my backend repo and my frontend repo ? It seems kinda strange to do so because, most of the time, a new feature on my frontend means new changes on the backend.
What should I do to practically put both on the same repo ? Having tow sub folders ? And what about Heroku ? I can’t configure it to build a subfolder app.
How are you managing that in your projects ?