A Github user search app utilizing Apollo
and Github's new GraphQL API v4
network layer https://developer.github.com/v4.
Follow the instructions there to get a personal access token
that you will place in the ApolloManager for your own use.
Installation:
- Be sure that you have
CocoaPods
installed so that you can install theApollo
library to do network calls. - Run
pod install
in the App directory - Retrieve Github Personal Access Token (Bearer token) from https://developer.github.com/v4
- Place personal access token in the
ApolloManager.swift
file inside of the globalbearerToken
variable. - Enjoy~!
This app has three primary screens:
- You can use the search bar to search for git users
- Users avatars are displayed next to their usernames
- Shows repo name, description, stars to repo, people watching repo, primary language of repo, last update date
- Commit message, person who committed, day of commit and time committed