Currently the API handler is not doing much, the expected things it needs to perform are
1. Start a docker container
2. Clone the user's repository which he selected
3. Perform UML generate action the repo based on the project type (java or python)
4. Add the UML image to repo's .docify-assets folder
5. Commit and push to user's github on docify branch
The steps needed to do that are
1. Start a docker container using dockerode
2. Clone the repo using the commands here -> [CS3-79](https://linear.app/t05-cs305/issue/CS3-79/github-authorization-private-repositories#comment-ad3db8c5)
3. Perform UML action using the type of project from the scripts we have outside the ./client folder
4. Move this UML image to repo's .docify-assets directory, make if not already created. Handle make if not already created or simply move graciously.
5. Use the commit.sh script and pass on required parameters to commit and push changes to user's github.
6. Redirect the user to the page that previews this generated UML image.
CS3-133 Fixing UML generate API handler
Currently the API handler is not doing much, the expected things it needs to perform are 1. Start a docker container 2. Clone the user's repository which he selected 3. Perform UML generate action the repo based on the project type (java or python) 4. Add the UML image to repo's .docify-assets folder 5. Commit and push to user's github on docify branch The steps needed to do that are 1. Start a docker container using dockerode 2. Clone the repo using the commands here -> [CS3-79](https://linear.app/t05-cs305/issue/CS3-79/github-authorization-private-repositories#comment-ad3db8c5) 3. Perform UML action using the type of project from the scripts we have outside the ./client folder 4. Move this UML image to repo's .docify-assets directory, make if not already created. Handle make if not already created or simply move graciously. 5. Use the commit.sh script and pass on required parameters to commit and push changes to user's github. 6. Redirect the user to the page that previews this generated UML image.