Skip to content

Billing API - Killing a fly with a cannon

Notifications You must be signed in to change notification settings

jorge07/billing-api

Repository files navigation

Billing API

Lint Status Tests

A Typescript project to demostrate how to work with all of this while keeping ultra fast speed:

  • DDD & CQRS & Event Sourcing
  • Dependency injection
  • Mockless tests
  • Unit, Integration and E2E testing
  • Kubernetes + Helm + Prometheus + Custom metrics + Grafana

TODO

Documentation

Jump into the documentation for in deep information

Setup

Dev and Minikube environments

Requirements:

  • Nodejs
  • yarn
  • Docker
  • Docker Compose (sooner than later will be integrated on the docker cli)

Start the project:

yarn install && yarn dev

Stack

  • Billing API and Worker/s
  • Postgres
  • RabbitMQ
  • Prometheus Operator
  • Alert manager
  • Grafana + built in BillingAPI Dasboard

Screenshots

API

Get Transaction

Grafana

Dash

Prom Rules

PrometheusRules PrometheusRules