resfandiari / flutter_advanced_graphql

Demonstration of Clean Architecture with GraphQL using Flutter's advanced tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_advanced_graphql

Demonstration of Clean Architecture with GraphQL using Flutter's advanced tools.

Goal

  • generate dart types and classes which covers GraphQL API queries
  • local schema update
  • autocomplete and validation of GraphQL queries
  • ability to work with API without waiting of backend implementation
  • perfectly curated separation
  • user-friendly package structure
  • easy to keep the project running

Tooling

IDE & plugins

Getting Started

  1. Start install graphql-faker

     npm install -g graphql-faker
    

    or

     yarn global add graphql-faker
    
  2. Start local graphql server graphql-faker fake.schema --open

  3. Dart types update

     pub run build_runner build
    

    or

     flutter pub run build_runner build
    
  4. Start app

     flutter run
    

About

Demonstration of Clean Architecture with GraphQL using Flutter's advanced tools.


Languages

Language:Dart 96.7%Language:Swift 2.3%Language:Kotlin 0.8%Language:Objective-C 0.2%