You need to create a Github App to run this app.
The following variables should be provided in your .env
file.
APP_ID=xxxxxxxxxx
CLIENT_ID=xxxx.xxxxx
PRIVATE_KEY_PATH=xxxxx-xxxx-xxx.private-key.pem
CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
You can use the command below to run the app:
go run .
You can access the URL via localhost:4000
.
It's better to access it via a ngrok tunnel to avoid running into CORS issues.