Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

readme.md

Grafbase ⨯ PlanetScale

This examples shows how to create a GraphQL API using Grafbase Resolvers that can read and write data to a MySQL database hosted by PlanetScale — Read the guide

Getting Started

  1. Run npx degit grafbase/grafbase/examples/resolvers-planetscale grafbase-with-resolvers-planetscale to clone this example
  2. Change directory into the new folder cd grafbase-with-resolvers-planetscale
  3. Run cp grafbase/.env.example grafbase/.env
  4. Open grafbase/.env in your code editor and provide your PlanetScale Database host, username and password.
  5. Run npx grafbase dev to start local dev server
  6. Open Pathfinder