Website for visualizing a persons github network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Peter Morgan 0ae467a4a7 Updated readme.md with API reference 5 years ago
doc Updated the readme documentation. 5 years ago
public Improved caching and performance for organization members api calls. 5 years ago
routes API Rework (#28) 5 years ago
.gitignore Updated .gitingore and Readme.md for using .env 5 years ago
LICENSE Initial commit 5 years ago
README.md Updated readme.md with API reference 5 years ago
gitGraph.service Created systemd run script for application. 5 years ago
package.json Add dotenv to package.json 5 years ago
run.sh Created systemd run script for application. 5 years ago
server.js Implement dotenv and fixed express deprecation errors 5 years ago

README.md

Github-Graphs

Website for visualizing a persons github network.

Example Graph

If you are lucky, you can find the site live here;

Built With

javascript

Running

Create a .env file with the code below filled in.

CLIENT_ID = <your_github_username>
CLIENT_SECRET = <your_generated_personal_access>
SESSION_SECRET = <any_string_you_want>
PORT = <any_number>
npm install
node server.js

Contributing

We are very open to new contributors. If you want to contribute to this project, and don't know where to start, look at the open issues. Once you know what you want to work on, comment on the issue and file a pull request.

API Reference

Custom API Route GitHub API Route
https://github-graphs.com/api/friends/<username> https://api.github.com/users/<username>
https://api.github.com/users/<username>/followers
https://api.github.com/users/<username>/following
https://api.github.com/users/<username>/orgs
https://github-graphs.com/api/repositories/<username> https://api.github.com/users/<username>/repos
https://github-graphs.com/api/org/users/<username> https://api.github.com/orgs/<username>/members
https://github-graphs.com/api/org/repositories/<username> https://api.github.com/orgs/<username>/repos