This examples shows how to create a GraphQL API using Grafbase that can read and write data to a Fauna database — Read the guide
- Run
npx degit grafbase/grafbase/examples/resolvers-fauna grafbase-with-resolvers-faunato clone this example - Change directory into the new folder
cd grafbase-with-resolvers-fauna - Run
cp grafbase/.env.example grafbase/.env - Open
grafbase/.envin your code editor and provide your Fauna database secret key. - Run
npx grafbase devto start local dev server - Open Pathfinder