Yashasv-Prajapati / Docify

5 stars 2 forks source link

dummy container creation and loader reporting progress #113

Closed ashima-09 closed 3 months ago

ashima-09 commented 3 months ago

container_and_loader.tsx is handling the call for api for executing the container and display of the loader component. dummy API has been created.

linear[bot] commented 3 months ago
CS3-104 Updates from API

1. Say you have an API handler that runs a Docker container that runs some commands 2. You also have a loader component that takes in updates from the API handler and updates the loader component accordingly, updates after some interval. 3. Implement this exact thing for a dummy docker container running some dummy commands and sending updates to the loader. The states of loader would change from 10% done -> 40% done and so on. Use shadcn components for UI wherever needed.