Pet Finder App with Flutter + Firebase + Hasura
Read Time:38 Second

Pet Finder App with Flutter + Firebase + Hasura

0 0

Pet Finder

Pet Finder App with Flutter + Firebase + Hasura

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

GitHub

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Deja una respuesta

Entrada anterior Easy-to-use libsodium crypto library with flutter
Entrada siguiente Pangolin Desktop UI shell designed for dahliaOS in Flutter