Testing REST endpoints with fake HTTP statuses

Using functional programming to avoid intermediate variables and nested functions

Separating logic from Express routes for easier testing

Tried TDD and didn’t realize the benefits? Try it the next time you get writer’s block