In this chapter, we are going to build a real data API for a real web application. I picked the name AZdev for it, which is short for “A to Z” of developer resources. AZdev will be a searchable library of practical micro-documentation, errors and solutions, and general tips for software developers.
I am not a fan of useless abstract examples that are removed from practical realities. Let’s build something real (and useful).
When software developers are performing their day-to-day tasks, they often need to look up one particular thing, such as how to compute the sum of an array of numbers in JavaScript. They are not really interested in scanning pages of documentation to find the simple code example they need. This is why at AZdev, they will find an entry on “Calculate the sum of numbers in a JavaScript array” featuring multiple approaches on just that particular code-development need.