Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Grafbase ⨯ MongoDB

This example shows how to create a Grafbase resolver that can execute read and write operations with a MongoDB database — Read the guide

Getting Started

  1. Run npx degit grafbase/grafbase/examples/resolvers-mongodb grafbase-with-resolvers-mongodb to clone this example
  2. Change directory into the new folder cd grafbase-with-resolvers-mongodb
  3. Run cp grafbase/.env.example grafbase/.env
  4. Open grafbase/.env in your code editor and provide your MongoDB Data API URL and Key
  5. Run npx grafbase dev to start local dev server with your schema
  6. Open Pathfinder