Creation of a stream based on tweepy via the tweeter api.
The received stream contains a large amount of data (tweet). That's why I focused only on tweets with more than 1000 retweets in order to avoid inappropriate tweets.
On the other hand, the location is retrieved from all tweets (appropriate or not) in order to make a tweeter map and thus be able to do deep analysis.
Then I stored the relevant tweets and locations in a NoSql database (MongoDB)
The API allows to communicate with the database
@app.route("/hastage/<GRANULARITY>",methods=['GET'])
@app.route("/location",methods=['POST','GET'])
@app.route("/hastage",methods=['POST'])
Creation of a dashboard that displays all the tweets on a map. But also to make a word cloud about the most relevant tweets (according to the month, hour and minute)
localhost:3000
docker-compose up --build
localhost:5000 --> API
localhost:3000 --> Website