https://github.com/k0msenapati/real-time-voting-app
🗳️ Real-time voting app with live updates, ⚡ powered by Fluvio and SSE...
https://github.com/k0msenapati/real-time-voting-app
fluvio nodejs ts vote
Last synced: over 1 year ago
JSON representation
🗳️ Real-time voting app with live updates, ⚡ powered by Fluvio and SSE...
- Host: GitHub
- URL: https://github.com/k0msenapati/real-time-voting-app
- Owner: k0msenapati
- License: mit
- Created: 2024-08-19T04:21:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-01T05:26:50.000Z (almost 2 years ago)
- Last Synced: 2025-05-07T20:38:13.743Z (over 1 year ago)
- Topics: fluvio, nodejs, ts, vote
- Language: HTML
- Homepage:
- Size: 43 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **Real-Time Vote App** 🎉

## **Description:**
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.
## **Tech Stack:**
[](https://skillicons.dev)
- Chart JS
- Fluvio
## **Features:**
- **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.
Screenshots:



## **Demo Video:**
[](https://www.youtube.com/watch?v=vIrSBFoPjvk)
## **Getting Started:**
To get started with the Real-Time Vote App:
1. **Install Fluvio**: Open Terminal and run the following command:
```bash
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash
```
2. **Add Fluvio to your path**:
```bash
echo 'export PATH="${HOME}/.fvm/bin:${HOME}/.fluvio/bin:${PATH}"' >> ~/.bashrc
echo 'source "${HOME}/.fvm/env"' >> ~/.bashrc
```
3. **Source the new .bashrc file**:
```bash
source ~/.bashrc
```
4. **Start the Fluvio cluster and create a topic**: Follow the instructions at [Fluvio GitHub](https://github.com/infinyon/fluvio):
```bash
fluvio cluster start
fluvio topic create vote-topic
```
5. **Install dependencies**:
```bash
npm install
```
6. **Run the development server**:
```bash
npm run dev
```
## **About the Author:**
Hi, I'm K Om Senapati! 👋
Connect with me on [LinkedIn](https://www.linkedin.com/in/kom-senapati/), [X](https://x.com/kom_senapati) and check out my other projects on [GitHub](https://github.com/kom-senapati).