Skip to content

resfandiari/flutter_advanced_graphql

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages