Skip to content

8HadiG/github-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub GraphQL

Search across GitHub via its GraphQL API.

  • For now only REPOSITORY, ISSUE search types works.

How to setup?

  1. Make sure you installed the latest version of node and npm.

  2. Clone the repo:

       git clone https://github.com/8HadiG/github-graphql.git
  3. Change directory to the repo:

       cd github-graphql
  4. Install dependencies:

       npm install
  5. Optional: If you are using VS Code, you can install GraphQL: Language Feature Support extension.

  6. Rename the .env.example file to .env.

  7. Create a github personal access token (see PAT).

  8. Write your GitHub access token after GITHUB_TOKEN= inside the .env file.

How to run?

  1. Feel free to change values from input/var-api.json and input/var-filter.json files.

  2. Open the repository in your terminal, then run:

       npm start
  3. See results from output/results.json.

Releases

No releases published

Packages

 
 
 

Contributors