amycommits / civic_hacking_hub

A place where people can find nonprofits to code for.
2 stars 13 forks source link

Implement a solution for using Github API to find nonprofit projects #50

Open amycommits opened 3 years ago

amycommits commented 3 years ago

https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories#search-by-topic

I am available for discussion on how to implement this, but I believe making a: github.api.js file in the api folder should be able to get us the majority of the way there.

https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories#search-by-topic

I would like to set up a way to get the open source projects from non-profits automatically because it will be more reliable than people entering in projects manually.

mcruzdev commented 3 years ago

Hi @duaimei, Can assign it for me?

mcruzdev commented 3 years ago

Hi @duaimei, I think that we can create a githubService.js in api folder an search by nonprofit in repo readme, name and description :)

amycommits commented 3 years ago

@mcruzdev After accepting your PR, I created a dummy page to test the results of the api call:

https://github.com/duaimei/civic_hacking_hub/pull/66

http://localhost:3000/github_results

If you pull down that branch and go to that page, you'll see that there are no results. Would you mind looking into why that would be the case?

I can create a new ticket if you'd like, but this is very closely related to the github api implementation.

mcruzdev commented 3 years ago

Hi @duaimei, I am out today without internet. But I will to test it, thank you for sharing

amycommits commented 3 years ago

Thank you for letting me know! No pressure!

I tried to change it to "non-profit" and still nothing. It might be a wild card issue. It's very promising, and I appreciate the work that you've done!

amycommits commented 3 years ago

FYI: https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd

Might be helpful if you don't already have it installed.