Closed pete-murphy closed 5 years ago
TODO
comment in 7f185d63fc5265f8da94aacf0d2aa09662e052a9 in #30. cc @ccfp.This pull request is automatically deployed with Now. To access deployments, click Details below or on the icon next to each push.
Latest deployment for this branch: https://github-issue-finder-git-feat-results-poc.ccfp.now.sh
TODO
comment in 7f185d63fc5265f8da94aacf0d2aa09662e052a9 in #30. cc @ccfp.TODO
comment in 7f185d63fc5265f8da94aacf0d2aa09662e052a9 in #30. cc @ccfp.Took longer than I care to admit but I learned all about env variables and got that working. I'm going spend some more time in a little while working on our querys and maybe get those components started. I'm really enjoying learning about GraphQL and the Apollo client
Nothing pretty yet but I fixed our variable name and started rendering our results page. Ive been following an Apollo tutorial using render props so it took a while to wrap my head around the hooks syntax but I got it. Man it was satisfying to see that data pop up when I finally got it working 😎
Also I know gotta get used to making smaller commits after I get something working like switching out that variable name. I'll watch your friends video again and try to pick up more good habbits. The way you have this Repo set up really seems like the way to do it
Yeah, I'm still figuring out the git flow—I feel like as master
gets more stable, maybe it makes sense to have a separate development
branch for "works-in-progress" items like this branch, which we would merge feature branches into and then when they prove stable merge them to master. But that would require some additional CI setup that I'm too lazy to (learn how to) do at the moment 🙈.
In any case, I'm just gonna merge this, since we're still developing a "proof of concept" and basic features still need to be added before it makes sense to guard master
.
🚧 Work in progress This is very rough, just showing the raw JSON more-or-less. Haven't polished the GQL query, and the variables are hardcoded in. Not gonna merge yet, so to work on this locally:
You'll need a
.env
file with aREACT_APP_GH_KEY
variable for hitting the GitHub API. Set that variable equal to the personal access token that you can create here: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line. Let me know if you have questions.