Skip to content

This Flutter and Dart project implemented different GraphQL Open APIs, for developers to use as a reference for implementations.

License

Notifications You must be signed in to change notification settings

abdulawalarif/graph_ql

Repository files navigation

Flutter & Dart app to implement GraphQL API

This project is for using as a reference of GraphQL implementation into flutter projects with graphql_flutter package.

There are multiple examples in this repo and every example contains their own main method

Features

  • CRUD :
    • Reading data from the server
    • Sending data to the server
    • Update
    • And Delete

File structure

├── lib
│   ├── books_crud
│   │  ├── book_model.dart
│   │  ├── graphql_config.dart
│   │  ├── graphql_service.dart
│   │  ├── main.dart
│   ├── country_listing.dart
│   │  ├── graphql_queries.dart
│   │  ├── main.dart
    ├── main.dart

Run Locally

Clone the project

  git clone https://github.com/abdulawalarif/graph_ql.git

Go to the project directory

  cd graph_ql

Install dependencies

  flutter pub get

Copy the main method from the individual project you want to run and paste it into the project's main.

Connect a physical device or start a virtual device on your machine

  flutter run

Reporting Bugs or Requesting Features?

If you found an issue or would like to submit an improvement to this project, please submit an issue using the issues tab above. If you want to submit a PR with a fix, reference the issue you created!

Known Issues and Future Work

  • The Books Crud : The URL is not available anymore so it's not working.

Author

License

The MIT License MIT. Please view the License File for more information.

About

This Flutter and Dart project implemented different GraphQL Open APIs, for developers to use as a reference for implementations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published