For my latest hackathon project I built a stage lighting system called LD Sync for the 5G Edge Computing Challenge with AWS. I had fun with this project because it involved controlling physical things (stage lighting) over an internet connection.
Here is my demo video:
You can find my full write-up on Devpost here: https://devpost.com/software/ld-sync
I wrote the project entirely in JavaScript and used WebSockets for real-time communication between the system components. If you are looking for example code showing how to interface with websockets both server-side and in-browser, you can find the repo here: https://github.com/MkFoster/ldsync