8000 GitHub - traVaulta/GithubScraper: :octocat: Sample React application for listing github account profiles and their repositories
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

traVaulta/GithubScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GithubScraper

Sample React application for listing github account profiles and their repositories.
Feel free to use for student project or experimentation.

search results filter

This project was bootstrapped with Create React App.

Recommended environment

Recommended machine for running the project:

  • Windows 10 environment (64-bit) + >=8GB RAM machine
  • NodeJS >=10.16.0 (npm >=6.9.0)
  • modern high-end code editor (Jetbrains WebStorm, Intellij or Microsoft Visual Studio/Code)

Setup

Requires a GitHub token to run, to create new one check out the guide here.
The token must be placed inside this project as REACT_APP_GITHUB_TOKEN environment variable in order to run.

You can add this environment variable:

  • when running the start script or in editor configuration (e.g. WebStorm run config),
  • by adding an .env.local file with your GitHub token like this: REACT_APP_GITHUB_TOKEN=token_goes_here

Additionally, if you don't like the app to open automatically in your default browser,
you can add BROWSER=none into your variables and then open it manually in the browser of your choice.

Finally, run npm run generate npm script to generate to proper files.

Available Scripts

In the project directory, you can run:

npm run generate

Generates types required for GitHub graphql API.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run coverage

Outputs test coverage report.
See the section about running tests for more information.

Keywords

apollo-boost, graphql, github-graphql-api-v4, react, react-hooks, typescript

About

:octocat: Sample React application for listing github account profiles and their repositories

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0