I have a project on my hands with a web server and app server and then a data layer.
I frequently have a need to create versions of software for different clients of mine to use.
Sometimes, only api route changes, sometimes everything changes from end to end, sometimes only app server and data layer changes.
The issue I have is how to version my code in these kind of situations. One thing I can do i.e. the solution if I may say so is branching out the code and work on however I want and that can be made a version and catered to clients accordingly, the problem with this is code maintenance and if the frequency increases I have the issue of maintaining the versions of code in repo.
What is the best way I can version my APIs or/and Business logic or/and data and scripts?
Cheers!
Unless you intend to merge back into the root, then you should branch for each client and maintain that clients branch forever. Is there any issue with doing that ?