Skip to content

Realtime sentiment and location analytics using the Twitter API. Built with React and Express.

Notifications You must be signed in to change notification settings

JoshuaRully/trendi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Trendi

Summary

This is our final project for Lighthouse Labs. The intention of Trendi was to get a generalized view of the sentiment towards a particular topic. A user can select a trending or custom topic and get a live stream of tweets and locations with a visualized sentiment analysis on that topic. The colourized overlay allows for quick consumption of data.

Contributors

Preview

Select a country and a popular trend!

"TrendDemo"

Watch North America react to the topic live!

"RealtimeLoading"

Analytics can be viewed in real time!

"AnalyticsFocus"

Dependencies

Back-End

  • Express
  • Needle
  • Sentiment
  • socket.io
  • Twit

Front-End

  • React
  • Sass
  • Axios
  • Material-UI
  • Recharts
  • React-Wordcloud

API's

  • Twitter
  • Google Maps JavaScript
  • Google Maps Geocoding

Running the project

Fork this repository, then clone it to your local machine.

You need TWO terminal windows/tabs for this (or some other plan for running two Node processes).

In one terminal, cd into react-front-end. Run

npm install

Then run

npm start 

and go to localhost:3000 in your browser.

In the other terminal, cd into express-back-end. Run

npm install

then

npm start

to launch the server.

For this project to work you will need API keys from Twitter and Google Maps. The .example.env file in both the front end and back end has the necessary fields that you will need to fill out for this to work.

The steps to get a Twitter API key can be found here

The steps to get a Google API key can be found here

About

Realtime sentiment and location analytics using the Twitter API. Built with React and Express.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.6%
  • SCSS 3.7%
  • Other 0.7%