/GH-Profile

Showcase GitHub user profile

Primary LanguageSwift

GH Profile

GH Profile is a usage demonstration of GitHub Graph QL API written in Swift.

Demo

Demo2

Features

  • Display main user information. Such as profile picture, name, login, email, followers count, following count.
  • Top 3 pinned repositories
  • Top 10 user repositories
  • Top 10 starred repositories

Technical Information

  • Developed using MVP(Model-View-Presenter) architecture
  • No storyboards used
  • No third-party libraries used
  • Cache data for 1 day and pull to force a refresh

Requirements

  • iOS 11.0+
  • Xcode 12+
  • Swift 5+

How to run

Just check out the project, open using Xcode, and hit the "build and run" button. That's it!. Just make sure you replaces the API key to a valid key before attempting to run.

Modifications

Please refer Constants.swift file for common configurations, Including GitHub profile to load and API key for GitHub Graph QL.

Create your own API key

Please refer below instructions to generate your own API key.

Creating a personal access token