Trends Analyser
Rita Rodrigues1 min read • Published May 24, 2022 • Updated Sep 11, 2024
FULL APPLICATION
Osama Bin Junaid contributed this project.
The project uses the Twitter API to fetch realtime trends data and save it into MongoDB for later analysis.
In today's world, it's very hard to keep up with everything that's happening around us. Twitter is one of the first places where things gets reported so my motive was to build an application through which one can see all trends at one place, and also why something is trending (trying to solve this one now).
I used MongoDB because of its document nature. I can directly save my JSON objects without breaking down into tables. It's also easy to design schemas and their relationships using MongoDB.
Its works by repeatedly invoking eight serverless functions on ibmcloud at 15-minute interval. These functions call the Twitter API to get the data, and do a little transformation before saving the data to MongoDB.
The back end then serves the data to the react front end.
GitHub repo front end: https://github.com/ibnjunaid/trendsFunction
GitHub repo back end: https://github.com/ibnjunaid/trendsBackend