You can download it from here
The workshop code and pre reqs can be found here.
You delete an app by navigating to GitHub Apps settings page, select your app, select Advanced
, and finally use one of the options in the Danger Zone
.
More directly, navigate to https://github.com/settings/apps/<YOUR_APP_NAME>/advanced
A breakdown of the difference between GitHub Apps vs OAuth Apps can be found in the developer docs. In general, we recommend using GitHub Apps since it was finer grain permissions over OAuth Apps.
GitHub's GraphQL Explorer can be found here. You'll need to sign in with your GitHub account. Note, GraphQL Explorer uses your real, live, production data.
Basic intro on GraphQL can be found here. And docs on GitHub's GraphQL API can be found here
You can learn more about GitHub’s GraphQL mutations here
The list available mutations can be found here
smee.io is webhook payload delivery service.
In this workshop, we used smee.io to deliver webhooks from GitHub to our local node app. Once you create a smee.io channel, don’t close your that tab!
You could use other services like ngrok to channel webhooks with GitHub's webhooks redelivery feature located in the webhooks settings page located at https://github.com/<YOUR_USERNAME_OR_ORGNAME>/<YOUR_REPO_NAME>/settings/hooks
.
In production, you will probably want to setup your on server to receive events from GitHub.
Go to https://github.com/settings/apps/
, click edit
on the GitHub App, and scroll all the way to the bottom where there should be a Private keys
section.
Or, navigate directly to https://github.com/settings/apps/<YOUR_APP_NAME>#private-key
To see everything running, you still need to setup a GitHub App, smee.io channel, and a test repo to apply the GitHub App to as shown in the workshop's video.
But if you just want to see full code, run the following in your terminal:
git clone [email protected]:githubsatelliteworkshops/apps-with-graphql.git`
cd apps-with-graphql
git checkout workshop-checkpoint-5
Majority of the code lives under apps-with-graphq/lib/server.js
Andrew's dotfiles can be found here
Mark's dotfiles can be found here