Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/njwest/elixir-rate-limiter-tdd-example
- Owner: njwest
- License: mit
- Created: 2024-07-20T20:06:40.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T18:28:52.000Z (6 months ago)
- Last Synced: 2024-09-30T09:01:36.651Z (4 months ago)
- Topics: elixir, exunit, infosec, rate-limiting, tdd, test-driven-development
- Language: Elixir
- Homepage: https://njwest.medium.com/test-driven-development-in-elixir-building-a-rate-limiter-with-exrated-exunit-and-doctests-5c3f1e8c80fc
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`