Server scripts source code versioning

Usually we keep all our code under a Git repository (in Bitbucket or GitHub for example), so we find difficult having these blocks of code which determine the behavior of the backend (event scripts, custom services) out of source code control.

For example, if we were creating a mobile app that allows the user to upload photos and answer some survey questions, we would keep all the mobile app code in a Git repository, and we would deploy a DreamFactory backend to store everything.
Then, we’d implement some business logic on the backend using event scripts and/or custom services. At this point the problem we find is that we’d need to manually copy the source code of these scripts to the Git repo, in order to keep track of the changes, which is very cumbersome and error prone.

I hope this clarifies what I meant.

1 Like