Closed ashima-09 closed 3 months ago
Create an API handler in `client/app/api/uml/route.ts` Assume you get information about the **type of Project (Java/Python) and Project ID in the request body** of your POST handler, now the API starts the Docker container by using the access token the repository URL from the database for the Project ID you have to clone the repository and then generating UML for this repository based on the type of Project. Once the Docker container finishes it's execution, simply redirect to the `/uml/page.tsx`
After creation of the appropriate bash scripts, the command needs to be modified. Currently a dummy command is present.