Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/njwest/elixir-rate-limiter-tdd-example

An Example Elixir Rate Limiter with ExRated, coded via TDD
https://github.com/njwest/elixir-rate-limiter-tdd-example

elixir exunit infosec rate-limiting tdd test-driven-development

Last synced: 3 months ago
JSON representation

An Example Elixir Rate Limiter with ExRated, coded via TDD

Awesome Lists containing this project

README

        

# RateLimiter

This repo is a companion to the [Test-driven Development in Elixir: Building a Rate Limiter with ExRated, ExUnit, and Doctests](https://njwest.medium.com/test-driven-development-in-elixir-building-a-rate-limiter-with-exrated-exunit-and-doctests-5c3f1e8c80fc)
guide by Nick West.

Within, you will find an example rate limiter written in Elixir
with [ExRated](https://github.com/grempe/ex_rated), unit tests, and doctests.

## Up and Running

1. Install dependencies with `mix deps.get`
2. Run tests with `mix test`