I will be doing a project that will have a distinct server side (.NET) and client side (JavaScript) which can be developed separately. Does it make more sense to have them as 2 separate git repositories or should they be rather one? What advantages / disadvantages do these approaches have?
Share
I’d recommend placing the code in two separate folders within the same git repository.
Main reason being that if you make changes to the server that require changes in the client it’s easy to see the changes to both in the same change set.
If the client and server code were separate repositories you’ve have to try and determine manually which change set on the server corresponded to which change set in the client code base.