Rodrigo127 / gatsby-netlify-first-round

This is a test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gatsby site and getting data from Github GraphQL API

Hello, if you want to test this repository, follow the next steps:
This was built with:

  • node v13.7.0
  1. Download the repository.
  2. Run npm install inside the project folder.
  3. Create a .env file inside the root folder, with the next keys and values:
    • GITHUB_LOGIN=Rodrigo127
      • It is the github user, you can get it from your profile.
    • GITHUB_PERSONAL_ACCESS_TOKEN=a00000b9cde22406f000000g3hi4jkl5m7n00000
      • It is a github's personal access token (check this link).
    • GITHUB_REPOSITORY_EXAMPLE=gatsby-netlify-first-round
      • The name of one of your repositories.
    • GITHUB_REPOSITORY_EXAMPLE_BRANCH=master
      • The name of the branch of the repository from the last key.
  4. Run gatsby develop.

Interesting links:

Todo

  • Improve style.
  • Get more info from the API.
  • Add more links.
  • Create commits' pages for every repository.
  • Pagination.

Common error while testing

  • The term 'gatsby' is not recognized as the name of a cmdlet, ...
    • This can be solved by installing gatsby globally with: npm install -g gatsby

About

This is a test

License:BSD Zero Clause License


Languages

Language:JavaScript 59.2%Language:CSS 40.8%