Git – How to organize back-end database design and front-end application in software repository

gitversion control

I have an application that has a back-end database (tables, procedures, database specific dlls) and front-end (application logic and UI) that separate people are working on. I was wondering what's the best way to organize it in my repository (I'm using GIT).

The options I see are:

  • all-in-one repository
  • submodules of main repository
  • two separate repositories
  • other?

Any suggestions are welcome.

Best Answer

I'd go for option 2

submodules of main repository

This keeps the two projects separate (to a degree) and easy to get individually, but clearly shows that they are related.

It shouldn't affect how each group accesses "their" part of the solution.

Related Topic