CarletonURocketry / CarletonURocketry/ground-station-ui
Have UI be accessible to many devices
- Dominant language
- TypeScript
- Stars
- 14
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
We've talked about having multiple devices access the UI for a while and we've derived a simple way to do it. Modify the web socket server URL in `main.tsx` to use the IP address of the host instead of `localhost`. Other devices can then use this IP, open a web browser and view the UI from their device. The steps required to make this as simple to use as possible:
- Modify `docker-compose.yml` to set the environment variable of IP address of host
- Modify code to use the IP address of the host from the environment variable instead of `localhost`
There will also need to be security measures implemented to ensure that only the host device can send commands but this should be implemented on the backend also using environment variables.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with main.tsx and docker-compose.yml to trace how the web socket URL and environment variables are configured. Verify that another device can open the UI using the host IP, and that backend command access is restricted to the host device as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, react, typescript
- Domain
- backend, devops, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100