twitter-query-engine
v0.0.7
Published
React Redux & Hapi based Twitter Query Engine
Maintainers
Readme
Twitter Stream Query Engine
Application URL ###https://twitter-query-engine.herokuapp.com
This UI allows you to query against a real-time stream of tweets produced by an external Tweet Streaming Service. The results of the query is streamed to client in near real-time.
User can setup only 1 query condition for now.
Twitter firehose is handled by NodeJS middleware to filter based on query passed by client(browser).
Client( Browser) <----stream--- NodeJS (Middleware/filter) <----stream----- TwitterStream
Key implementation pending:
- Throttling streaming speed at middleware by using database
- Once throttling is fixed in middleware then 2 tps threshold stopper will be removed and infinite scrolling will have to be implemented
- Support multiple query feature in UI
- UX changes based on customer's need
How to run it locally
- Go to terminal and clone code from github
git clone https://github.com/sachinjha1/twitter-query-engine.git - Change directory to project folder
cd twitter-query-engine - Run npm install
npm install - Start local server
npm startBuilt bundle is already checked in. To re-build bundle runnpm run webpack - Open browser and go to
http://localhost:8080/
In case of any local code change
- Run build again
npm run webpack - Stop the server if its already started.
ctrl+c - Start the server
npm start
Screenshot

