https://github.com/c0debrain/real-time.ml
A real-time data analytics dashboard for tweets on the US election
https://github.com/c0debrain/real-time.ml
Last synced: 11 months ago
JSON representation
A real-time data analytics dashboard for tweets on the US election
- Host: GitHub
- URL: https://github.com/c0debrain/real-time.ml
- Owner: c0debrain
- License: mit
- Created: 2019-07-31T01:09:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-28T21:46:35.000Z (over 6 years ago)
- Last Synced: 2025-01-01T17:40:39.590Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 5.66 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://app.netlify.com/sites/real-time/deploys)

# Visualizing live election tweets
### Using Redis, Elasticsearch, ExpressJS, and Angular to search high-volume tweets in real-time.
## Getting started
`git clone https://github.com/cpgeier/real-time.ml.git`
`cd real-time.ml/site`
`npm install && ng serve --prod`
## Background
There are more than 10 tweets per second about current politics in America. Wouldn't it be cool to have a way to see these tweets in real-time? This repo is an implimentation of a high-volume data framework that consumes streaming data from Twitter and visualizes the tweets in an Angular front-end. Although this project specifically focuses on tweets about US politics, the parameters in this repo can be changed to visualize any topic on Twitter.
## Building the repo
- Configure environment file
- Elasticsearch url
- Twitter API config
- In stream folder: `docker-compose up`
- In api folder: `node index`
- In site folder: `ng serve`
## Hosting online
- Netlify to host site folder
- Bonsai to host elasticsearch
- Heroku to host expressjs api
- Host Docker-machine using any cloud service https://docs.docker.com/machine/drivers/