I recently created a website that displays your votes on classically debated questions like 'tabs or spaces?'?
One of my favorite things about it is that if you leave the result progress bars up, and someone else votes, you can see the results change in real time.
I used the confluent-kafka-javascript(https://github.com/confluentinc/confluent-kafka-javascript) client which is currently in early access.
Votes are sent to a Kafka topic deployed in Confluent Cloud, and the code for the frontend is on Amplify while the code creating the route and Kafka clients is on EC2.
I put a version of the code here(https://github.com/confluentinc/demo-scene/tree/master/confl...) so you can follow along and deploy a similar project for yourself. I'm hoping it makes a fun way for you to learn this Kafka JavaScript client.
In the future, I'd like to implement features like allowing you to change your vote, or a board summarizing votes like "30% of developers who voted for X voted for Y".
Enjoy! Looking forward to your feedback.