Skip to content

A minimal reverse-proxy, including a rate-limiter and monitoring with Prometheus, written in Node.js

License

Notifications You must be signed in to change notification settings

tksventures/reli-proxy

Repository files navigation

Node.js reverse-proxy with rate limiter and monitoring

Test the microservice

npm test

Start the microservice

npm start

You can now access the Node.js app at https://localhost:4000

Monitoring

The metrics used by Prometheus for monitoring, are exposed at https://localhost:4000/metrics

WIP Run with Docker

Build the image from the repository

docker build -t reli-proxy .

Start the docker container

Pass in Redis url in the environment variable

docker run -p 4000:4000 --env-file ./.env.sample -it reli-proxy

Run tests

docker-compose up --abort-on-container-exit

Supporting

  • Travis CI
  • Docker image
  • Github templates
  • Unit tests
  • ES lint
  • docker-compose
  • Kubernetes deployment files
  • Prometheus metrics observation & endpoint
  • Grafana dashboard

About

A minimal reverse-proxy, including a rate-limiter and monitoring with Prometheus, written in Node.js

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published