The Real-Time Vote App provides a seamless voting experience with live updates using Fluvio and Server-Sent Events (SSE). Users can cast their votes in real-time and watch as the results update dynamically. This application showcases modern web technologies and real-time data handling, making voting engaging and immediate.
- Chart JS
- Fluvio
- Real-Time Voting: 🗳️ See live updates on voting results as votes are cast.
- Dynamic Charting: 📊 View and interact with real-time charts using Chart.js.
To get started with the Real-Time Vote App:
-
Install Fluvio: Open Terminal and run the following command:
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash
-
Add Fluvio to your path:
echo 'export PATH="${HOME}/.fvm/bin:${HOME}/.fluvio/bin:${PATH}"' >> ~/.bashrc echo 'source "${HOME}/.fvm/env"' >> ~/.bashrc
-
Source the new .bashrc file:
source ~/.bashrc
-
Start the Fluvio cluster and create a topic: Follow the instructions at Fluvio GitHub:
fluvio cluster start fluvio topic create vote-topic
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
Hi, I'm K Om Senapati! 👋
Connect with me on LinkedIn, X and check out my other projects on GitHub.