learn hapi — Rate Limiter Refactoring & Cleanup (Part 7 of 7)

This is the final tutorial in the “Build a Rate Limiter” series. The rate limiter has all important features to increase your application security. As with any software project, you should put aside time to review and refactor the code.

By finishing this tutorial, you’ll push your rate limiter code base to another level. The refactored code will be easier to understand by increasing the readability. You’ll also simplify the ways to extend and maintain the code base. The changes will make your rate limiter future proof for any additions.

If you need a glimpse on the code, have a look at it on GitHub in the hapi-rate-limitor repository. Find it also on NPM at hapi-rate-limitor. Check it out!

hapi Series Overview

Continue reading

University Enrollment Required

Future Students benefit from value packed videos and tutorials.

Enroll to receive exclusive content or sign in if you’re already a Future Student.

Enroll me for $15/mo

Explore the Library

Find interesting tutorials and solutions for your problems.