Summary
This chapter covered very simple examples of how FastAPI achieves the most common REST API tasks and the way it can help you by leveraging modern Python features and libraries such as Pydantic.
This chapter also detailed how FastAPI enables you to perform requests and responses through HTTP and how you can tap into it, at any point, and customize and access the elements of the request, as well as the response. Finally, it also detailed how to split your API into routers and how to organize your app into logical resource-based units.
The next chapter will give you a quick introduction to React—the user interface library of choice in the FARM stack.