EventGet 50% off your ticket to MongoDB.local NYC on May 2. Use code Web50!Learn more >>
MongoDB Developer
TypeScript
plus
Sign in to follow topics
MongoDB Developer Centerchevron-right
Developer Topicschevron-right
Languageschevron-right
TypeScriptchevron-right

Trends analyser

Rita Rodrigues1 min read • Published May 24, 2022 • Updated Jul 07, 2022
AtlasJavaScriptTypeScript
Facebook Icontwitter iconlinkedin icon
Rate this code example
star-empty
star-empty
star-empty
star-empty
star-empty

Creators

Osama Bin Junaid contributed this project.

About the Project

The project uses twitter api to fetch realtime trends data and save it into MongoDB for later analysis.

Inspiration

In today's world its very hard to keep up with everything thats 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)

Why MongoDB?

I used MongoDB because of its Document nature, I can directly save my JSON objects without breaking down into tables, and also because its easy to design schemas and their relationships using MongoDB

How It Works

Its works by repeatedly invoking 8 serverless functions on ibmcloud at 15 minutes interval, these functions call twitter apis get the data, and do little transformation before saving the data to Mongodb.
The backend then serves the data to the react frontend.

Facebook Icontwitter iconlinkedin icon
Rate this code example
star-empty
star-empty
star-empty
star-empty
star-empty
Related
Tutorial

How to Deploy MongoDB Atlas with AWS CDK in TypeScript


Jan 23, 2024 | 5 min read
Tutorial

Create a REST API with Cloudflare Workers and MongoDB Atlas


Mar 29, 2024 | 7 min read
Tutorial

Instant GraphQL APIs for MongoDB with Grafbase


Oct 12, 2023 | 7 min read
Article

What to Expect from Realm JavaScript v12


Apr 02, 2024 | 5 min read
Technologies Used
Languages
Products
Table of Contents
  • Creators