This examples hows how to create a Grafbase resolver that can execute read and write operations with a Turso database — Read the guide
- Run
npx degit grafbase/grafbase/examples/resolvers-turso grafbase-with-resolvers-tursoto clone this example - Change directory into the new folder
cd grafbase-with-resolvers-turso - Run
cp grafbase/.env.example grafbase/.env - Open
grafbase/.envin your code editor and provide your Turso Database URL and Access Token - Run
npx grafbase devto start local dev server with your schema - Open Pathfinder