Google Sheets Rest API transformed into GraphQL to be added as a remote schema in Hasura
Google Sheets API is a service to read, write and format data in sheets programatically.
To be able to query Google Sheets data via Hasura, it needs to be added as a Remote Schema using the Hasura Console.
GOOGLE_SHEETS_API_KEY
environment variable.SPREADSHEET_ID
environment variable. We can find the sheet ID in the url.Click the following button to edit on glitch
Add the following environment variables in the .env
file on glitch.
GOOGLE_SHEETS_API_KEY=xxx
SPREADSHEET_ID=xxx
PORT=3000
npm install
PORT=3000 GOOGLE_SHEETS_API_KEY=xxx SPREADSHEET_ID=xxx npm start