Closed nishad-dhuri-05 closed 3 months ago
Create an API handler in `client/app/api/code_coverage/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 `/code_coverage/page.tsx` (may change this route afterwards).
Made some minor modifications to the code coverage code for python.