- Github search
- Profile page
- Repository list
User has to be able to search for a particular GitHub account name, and if there is a match application has to display:
- User profile (profile picture, username and email, link to GitHub profile)
- Repository list (full repo name and repo description, link to GitHub repo)
User has to be able to sort repositories by name. User repositories should be cached in order to assure immediate access of user data if the same search is executed.
- Node version v12.18.2
- NPM 6.14.5
- Add your Github personal access token with
read:user
anduser:email
scopes to.env
file, sample file.env.example
located at the root - Start development server by running
npm run start
Types generation command is rather for development
GITHUB_PERSONAL_ACCESS_TOKEN=token npm run apollo-codegen
Apollo boost used here because it provide caching feature
- Mobile first