Code Monkey home page Code Monkey logo

ex_trello_notifier's Introduction

ExTrelloNotifier

Create trello cards from errors using webhook

TODO

  • implement trello card via rest api
  • process webhook response body from error monitoring tools
  • add trello label for cards resolved/unresolved
  • add Github project (kanban, automation)
  • add Cachex for retrieving list id and labels
  • verify webhook signature (security)
  • add code docs (typespecs, docs/moduledocs)
  • use markdown for creating card description (TBA)
  • add Credo (code linter)
  • add Sobelow (security checker for framework)
  • add Honeybadger (error monitoring)
  • add Uptimerobot (uptime monitoring)
  • add Logflare (log aggregator)
  • add ci workflow (unit, mocks)
  • add code coverage (deps, ci)
  • add badge (ci, coverage, dependabot, etc.)
  • add semver
  • update README file to contain instructions from Trello, error monitoring tool and sample deployment for Phoenix framework
  • publish docs (hexdocs for Phoenix framework)
  • add cd workflow (fly.io)

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Don't forget env variables (e.g. export TRELLO_API_KEY=aaaa...)
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

You can test the flow locally by:

  1. Create a mix project: add error monitoring tool and install e.g. :rollbax to trigger the error. Note: create a route and add the error as a trigger point, or use this sample repo
  2. Run ex_trello_notifier on another port (PORT=4444 iex -S mix.phx server).
  3. Expose those two apps via tunneling. For this demo, use ngrok.io
  4. Add auth token in ngrok.yml, then ngrok start --config=ngrok.yml test notifier.
  5. curl https://<DYNAMIC_SUBDOMAIN>.ap.ngrok.io/PATH_IF_ANY.
  6. Then check Trello board for changes.

Now you can visit localhost:4000 from your browser.

ex_trello_notifier's People

Contributors

jaeyson avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

citc-davao

ex_trello_notifier's Issues

upsert label on a card

scenario:

  • Add label (default: Unresolved) when creating new card
  • Update label (Resolved or Recurring) when Sentry issue is reopened

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.