Skip to content

A React app served on Webpack Devserver that proxies requests to an Express backend. The rest is up to you.

Notifications You must be signed in to change notification settings

sorihan01/trendi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Trendi

Summary

Trendi is a single-page-app that lets users browse top trends on Twitter and see a visualized geo-locational sentiment analysis in real-time. This was our final project at Lighthouse Labs that gave us another chance to work independently from instructions while building an app from scratch using our choice of tools/frameworks. I was in charge of planning and implementing the React components, UI/UX, and the core functionality while working proactively for seamless integration with the Twitter and Google Maps API.

Trendi lets users 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.

Trendi was conceptualized with the desire of working with live-streaming, raw data. In creating the user stories, we wanted to build a tool that allows users to see the sentiment analysis in a variety of simple views. We hope to expand Trendi in the future and worked on this application with scalability in mind.

For more projects visit my portfolio at sorihan.com

Video Demo

Click here to see Trendi in action

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 to run Trendi.

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

Install dependencies:

npm install

Then run:

npm start 

and go to localhost:3000 in your browser.

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

Install dependencies:

npm install

then run:

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

A React app served on Webpack Devserver that proxies requests to an Express backend. The rest is up to you.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

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