Closed ashima-09 closed 7 months ago
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.
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.