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.

61 lines
1.6 KiB

5 years ago
4 years ago
  1. # Github-Graphs
  2. Website for visualizing a persons github network.
  3. ![Example Graph](./doc/graphExample.png)
  4. If you are lucky, you can find the site live [here](https://github-graphs.com/);
  5. # Built With
  6. - [BootStrap](https://getbootstrap.com/)
  7. - [jQuery](https://jquery.com/)
  8. - [Vis JS](http://visjs.org/)
  9. - [Github v3 API](https://developer.github.com/v3/)
  10. - [Node.js](https://nodejs.org/en/)
  11. ![javascript](./doc/javaScript.jpg)
  12. # Running
  13. Create a .env file with the code below filled in.
  14. ```
  15. CLIENT_ID = <your_github_username>
  16. CLIENT_SECRET = <your_generated_personal_access>
  17. SESSION_SECRET = <any_string_you_want>
  18. PORT = <any_number>
  19. ```
  20. ```bash
  21. npm install
  22. ```
  23. ```bash
  24. node server.js
  25. ```
  26. # Contributing
  27. 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](https://github.com/jrtechs/github-graphs/issues). Once you know what you want to work on, comment on the issue and file a pull request.
  28. # API Reference
  29. `https://github-graphs.com/api/friends/<username>`
  30. - `https://api.github.com/users/<username>`
  31. - `https://api.github.com/users/<username>/followers`
  32. - `https://api.github.com/users/<username>/following`
  33. - `https://api.github.com/users/<username>/orgs`
  34. `https://github-graphs.com/api/repositories/<username>`
  35. - `https://api.github.com/users/<username>/repos`
  36. `https://github-graphs.com/api/org/users/<username>`
  37. - `https://api.github.com/orgs/<username>/members`
  38. `https://github-graphs.com/api/org/repositories/<username>`
  39. - `https://api.github.com/orgs/<username>/repos`