Advanced Search Plays with GraphQL
2023-06-20 , Frannz Salon

This demo-heavy workshop scores a hat trick by combining Apache Lucene, MongoDB, and GraphQL to easily build search functionality across data collections and 3rd party APIs into applications.


GraphQL is rapidly growing in popularity as the new standard for working with APIs, and it’s easy to see why! This groundbreaking API query language gives developers a single endpoint to access exactly the data they need. This eliminates over-fetching, decreases the response payload, and avoids multiple costly round trips to the server and long page load times.
This could be a session, long or short, or a workshop. The application is a football themed app (or a movie app if the organizers prefer) where we start small with exposing data via a GraphQL endpoint in minutes, but then we make the application much different and more fun by using GraphQL custom resolvers to add a 3rd party TikTok endpoint to the mix. The code is hosted in a code sandbox so attendees will leave with the inspiration, best practices, and actual code to implement immediately in their workflow.

See also: Slides (6.3 MB)

Stanimira Vlaeva is a Developer Advocate at MongoDB and a Google Developer Expert for Angular. She is passionate about explaining complex technical topics in an understandable way, live-coding, and contributing to open-source software. Her Twitter DMs are always open!