-
Book Overview & Buying
-
Table Of Contents
Full Stack FastAPI, React, and MongoDB - Second Edition
By :
This chapter detailed aspects of Python that are either new and still evolving, or often simply overlooked, such as type hinting, and the implications that their use can have on your projects.
FastAPI is based on Pydantic and type hinting. Working with these solid principles and conventions will make your code more robust, maintainable, and future-proof even when working with other frameworks. You have a solid Python types foundation and have learned the basic functionalities provided by Pydantic—validation, serialization, and deserialization.
You have learned how to deserialize, serialize, and validate data through Pydantic, and even add some transformations during the process, creating structures of increased complexity.
This chapter has equipped you to learn more web-specific aspects of FastAPI and to blend data seamlessly between MongoDB, Python data structures, and JSON.
The next chapter will explore FastAPI and its Pythonic foundations.