Build A GitHub App With Flutter And GraphQL Like A Pro

Promise Nzubechi Amadi
Flutter Community
Published in
4 min readJan 6, 2020

--

Hello everyone, I’m honoured to have you here…

In this article, you will learn how to build a Github app from scratch using Flutter and GraphQL.

Brief Introduction of GraphQL

GraphQL is a query language that allows developers to create queries that will be executing on the server.

It was developed internally by Facebook in 2012 before being publicly released in 2015.

Ever since then, the query language has been adopted by major organizations, like Airbnb, Atlassian, Audi, CNBC, GitHub, Major League Soccer, Netflix, Shopify, The New York Times, Twitter, Pinterest.

So, let’s start

Create your flutter app using Visual Studio, IntelliJ or Android Studio, then open “pubspec.yaml” file, and install the following packages.

dependencies:
graphql_flutter: ^2.0.0
http: ^0.12.0+2

Open your main.dart file, and modify your source code to look like this image below:

--

--

Promise Nzubechi Amadi
Flutter Community

Expert Android Developer || Certified Flutter Developer || Technical Writer || Tech Speaker || Digital Skills Educator