Skip to content
This repository was archived by the owner on Sep 10, 2020. It is now read-only.

swinton/example-golang-github-app

Repository files navigation

example-golang-github-app

An example GitHub App, written in Golang

Usage

make

./bin/example-golang-github-app

Development

Use reflex to auto-reload the webhook server when any file changes are detected:

reflex -s go run cmd/example-golang-github-app/main.go

Send an example webhook:

curl -X POST -d '{"hello":"world"}' -H "Content-type: application/json" http://localhost:8000/

Expose the endpoint over the public internet using ngrok:

ngrok http 8000

Alternatively, setup an ngrok configuration file:

tunnels:
  main:
    proto: http
    addr: 8000

And then:

ngrok start main

Resources

About

An example GitHub App, written in Golang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published