Giter Club home page Giter Club logo

trudeau_posts's Introduction

trudeau_posts

This application would crawl into CNN and Twitter to find the last 25 posts and news of J. Trudeau and displays them. the web design of this app would be refreshed every 5minutes in order to fetch the most recent contents.

Base endpoints

The endpoints that the index.html file currently uses.

  • /content/twitter
  • /content/cnn

Features:

The coolest feature of this app is that it can analyze the tonality of the text using the GET API of IBM ToneAnalyzer.

This feature can help us immediately understand the semantic of the content we are about to read, and in periods like the Coronavirus outbreak, this feature can help us to go straight to news and tweets which has brought "Fear" to our governors.

This analyzer would detect the tonality of the news based on their first three sentences, and also tweets based on their first three sentences (if they are more than 3 sentences). In the case of not detecting the exact tonality, the "MixedFeeling" would appear.

The search query of CNN news and username of twitter can be manual.

  • localhost:8080/content/{query}/cnn
  • localhost:8080/content/{username}/twitter

Also, the number of posts that are being fetched can be manual to and be sent as a @PathValue.

  • localhost:8080/content/cnn/{maxPosition}
  • localhost:8080/content/twitter/{maxPosition}
  • localhost:8080/content/{query}/cnn/{maxPosition}
  • localhost:8080/content/{username}/twitter/{maxPosition}

Techs and Frameworks

  • Spring Boot
  • version java
  • IMB Tone Analyzer

Deployment

To run this project you need to import all maven dependecies. its better to first clean the maven catch mvn clean and then install them all mvn idea:idea and lastly, package it mvn package :).

trudeau_posts's People

Contributors

sarangolestani avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.