Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

pet finder

pet project with flutter + firebase + hasura.

how to start

$ flutter packages pub run build_runner build --delete-conflicting-outputs

for vscode apollo graphql

$ npm install -g apollo

create ./apollo.config.js

module.exports = {
  client: {
    includes: ['./lib/**/*.dart'],
    service: {
      name: '<project name>',
      url: '<graphql endpoint>',
      // optional headers
      headers: {
        'x-hasura-admin-secret': '<secret>',
        'x-hasura-role': 'user',
      },
      // optional disable ssl validation check
      skipsslvalidation: true,
      // alternative way
      // localschemafile: './schema.json',
    },
  },
}

how to download schema.json for localschemafile

$ apollo schema:download --endpoint <graphql endpoint> --header 'x-hasura-admin-secret: <secret>' --header 'x-hasura-role: user'

��‍�� inspiration


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.