In the last part of Getting started with Apollo Server and GraphQL we went through setting up a super simple Apollo server that had a basic schema and resolvers set up with hardcoded mock data. In this blog we will go over how to turn that mock data into data that’s coming from a database! Behold, the super awesome document-based mongoDB database!

Before getting started make sure you have an account with mongoDB. Once you have that set up, let’s go ahead and create a cluster!

Let’s go ahead with the free tier 😉

Julio Chazari

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store