In the last few chapters, we have followed a TDD approach to implement our Create User endpoint. However, a user directory application needs to do much more: retrieve, edit, delete, and search for users. In this chapter, we want you to practice what you've learned and implement these endpoints yourself.
To help you design an API that is easy to use, we will outline some principles of API design. Specifically, we will:
- Discuss what REST is, and what it is not
- Learn to design our API to be consistent, fast, intuitive, and simple
- Understand the different types of consistency: Common, Local, Transversal, Domain, and Perennial