A Go proxy app, which can easily be deployed to Heroku.
Make sure you have Go version 1.12 or newer and the Heroku Toolbelt installed.
Create a .env file with the following variables:
GITHUB_ACCESS_TOKEN=<your-github-access-token>
GITHUB_API_URL=https://api.github.com
ALLOWED_ORIGINS=https://one.example.com,https://two.example.comgit clone https://github.com/ajlende/go-api-proxy.git
cd go-api-proxy
make localYour app should now be running on localhost:5000.
heroku create
make deploy
heroku openor
For more information about using Go on Heroku, see these Dev Center articles:
