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.
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.