Skip to content

xiaohangsu/TweetMap

Repository files navigation

TweetMap

Build Status

Real-time streaming Tweets showing on Google Map.

Setup

App

npm install --save
node app.js

Development

npm install --save-dev
npm run-script build &
npm run-script run

Main

Develop

Config

tweetOauth
	key: user key
	secret: user secret
	token
		key: app key
		secret: app secret
		
elasticSearchURL: (elasticSearchURL or host)

GoogleMapAPI: your google Map API

tweetsSize: fixed Index size once you set up

Tweets Size can automatically delete older data to keep elasticsearch disk usage in a controlled level.

Depolyment

  • AWS EC2 for Elasticsearch
  • AWS Elasticbeanstalk for web application

##Feature

App Feature

  • live-stream tweets

  • search for keywords
  • search for a select point within given distance
  • change map layout Standard Silver Retro Dark Night Aubergine

Dev Feature

  • live reload Front-End Changes using webpack-dev-server
  • live reload Back-End Changes using nodemon

License

MIT License