Coded at YHack 2019
A web-app made designed for the JetBlue challenge at YHack 2019. The challenge was to find out what the public thinks of JetBlue and come up with a hypothesis. Uses Google Cloud's Natural Language API to analyze the sentiment from posts scraped on social media and displays the data in a bar graph, as well as the accompanying details.
- Utilizes Google Cloud's Natural Language API to analyze the sentiments of a sentence.
- Displays analyzed data in a bar graph using Charts.js
- Front-end designed and built with the help of Bootstrap templates
- Back-end built with nodeJS and ExpressJS
- Uses the Twitter and Reddit API to search for posts containing the keyword(s).
npm install twitter-node-client
npm install --save @google-cloud/language
set GOOGLE_APPLICATION_CREDENTIALS=C:\Users\crmur\Documents\_YHack\password.json
- Enter a keyword. The current keyword style is "JetBlue" + "keyword".
- (Optional) Pick a Starting date and/or an Ending date. If no Ending date is entered it is defaulted to today.
- A graph will be displayed and an average rating will be calculated from the internet posts.
- Click on an area of the graph to display the text analyzed within the range of the bar graph.