Maxime Beugnet
40 Minutes to Build a Serverless COVID-19 REST and GraphQL APIs
#1about 2 minutes
The challenge of making raw COVID-19 data usable
The project's goal was to transform raw, hard-to-use COVID-19 data from Johns Hopkins University into a clean, queryable dataset.
#2about 7 minutes
Analyzing inconsistent daily report CSV files
The initial daily CSV files were unusable for a stable API because their schemas, column names, and date formats changed over time.
#3about 3 minutes
Using consistent time-series data as a source
The time-series CSV files provided a more stable and predictable data source with one column per day, which was better but still needed transformation.
#4about 7 minutes
Transforming wide CSV data into a document model
A Python script was used to pivot the wide CSV data, transforming date columns into rows and creating a GeoJSON structure for mapping.
#5about 1 minute
Overview of the final MongoDB collection structure
The final dataset is organized into five collections, including combined global and US data, pre-calculated daily counts, and a country summary collection.
#6about 6 minutes
Introducing MongoDB Atlas and the Realm serverless platform
MongoDB Atlas provides managed database clusters, while MongoDB Realm offers a backend-as-a-service layer for building serverless applications on top of Atlas.
#7about 3 minutes
Building a GraphQL API automatically with MongoDB Realm
MongoDB Realm can automatically generate a complete GraphQL API endpoint based on a collection's defined schema and access rules.
#8about 5 minutes
Securing the GraphQL API with authentication providers
Realm provides built-in authentication providers, such as anonymous or email and password, to secure API endpoints and manage user access.
#9about 5 minutes
Creating a serverless REST API with Realm webhooks
A custom REST API can be built using MongoDB Realm's HTTP services and webhooks, which execute serverless JavaScript functions to query the database.
#10about 3 minutes
The environmental benefits of serverless architecture
Serverless platforms improve energy efficiency by sharing compute resources and eliminating idle servers, contributing to a greener data infrastructure.
#11about 5 minutes
Handling evolving data formats with a flexible schema
MongoDB's flexible document schema allows for easier data migration and application updates by accommodating different document structures within the same collection.
Related jobs
Jobs that call for the skills explored in this talk.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Matching moments
06:47 MIN
Solving date and time issues with the Temporal API
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
01:06 MIN
Malware campaigns, cloud latency, and government IT theft
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
03:34 MIN
The business case for sustainable high performance
Sustainable High Performance: Build It or Pay the Price
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
04:28 MIN
Building an open source community around AI models
AI in the Open and in Browsers - Tarek Ziadé
Featured Partners
Related Videos
Protector Of The Realm
Sani Yusuf
Covid-19 - A crowdsourced map for checking supermarket wait times worldwide
Miki Lombardi
The Great API Debate: REST, GraphQL, or gRPC?
Alexis Yushin
GraphQL: Does it replace SQL, REST or Something Else?
Gregor Bauer
Rapid GraphQL API Development with PostGraphile
Ruwan Xaviour Fernando
From 0 to 1.000.000: How to build a serverless raffle service for hyperscale
Marco Plaul & Martin Sakowski
Database Magic behind 40 Million operations/s
Jürgen Pilz
Swapping Low Latency Data Storage Under High Load
George Asafev
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Percona
Remote
Intermediate
MySQL
MariaDB
MongoDB
PostgreSQL



PROFILE SOFTWARE SERVICES
Municipality of Bilbao, Spain
GIT
REST
Scrum
React
DevOps
+4

PROFILE SOFTWARE SERVICES
Municipality of Valencia, Spain
GIT
REST
Scrum
React
DevOps
+4

PROFILE SOFTWARE SERVICES
Municipality of Vitoria-Gasteiz, Spain
GIT
REST
Scrum
React
DevOps
+4


LeHibou
Canton de Marseille-12, France
Senior
API
iOS
REST
Azure
React
+10

Dataed Technologies (Rakoono)
Paris, France
Remote
React
Next.js
PostgreSQL
TypeScript