Git Product home page Git Product logo

github-webhook-server's Introduction

github-webhook-server

Process GitHub events for fun and profit.

Development

Environment

For the next steps, you need to have Docker and psql installed.

You also need to create a ngrok account and generate an auth token.

  1. Create a docker volume named ìssuesdb and copy the structure.sql file there. This volume will later be mounted to the container and create the structure in the database automatically.
docker volume create issuesdb
sudo cp structure.sql /var/lib/docker/volumes/issuesdb/_data/structure.sql
  1. Run docker-compose. This will create 3 containers: ngrok, postgresql and the github-webhook-server.
export NGROK_TOKEN=<your token goes here>
docker-compose up
  1. If you want to make sure that the database was created correctly, or change your password, you can connect to it with psql:
psql issues -h localhost -U admin

Roadmap

  • Add proper logging.
  • Add unit and integration tests.
  • Make actions configurable.
  • Learn how to actually code in GO and refactor everything xD

Acknowledgements

Tutorials and articles that helped me build this project:

github-webhook-server's People

Contributors

muripic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.