Summary
This chapter has shown how to make quick work of API endpoints. Playwright tests can be used to specify how an API should behave, and the unit tests can be used to drive the design and ensure that we end up with minimal implementation.
The next chapter completes the API story arc: we will update the form actions to use the new API endpoints rather than going directly to the repository.