Tuesday 26 March 2019

How should I structure my Git repo for keeping front & backend separate? Please help!

I'm planning on building an app which would involve GraphQL on backend and React on frontend. Now I want these two to be separate as I would be using CI/CD for deploying the app. The backend would be deployed to some server and the frontend would be hosted by github-pages.Since I'm a beginner and just learnt to use git and stuffs I'm not aware of the best practices. So I'm considering these options:Place frontend and backend in separate folders in the same repo.Place them in different branches in the same repo.Place them in different repos.I would like to hear your opinions. Thanks in advance.

Submitted March 26, 2019 at 02:00PM by shivamsingha

No comments:

Post a Comment