Python FastAPI Serializers and Controllers
About
This module focuses on understanding and implementing data serialization in a FastAPI application. Learners will implement Pydantic data serializers, integrating them with FastAPI controllers in an MVC application, and practice defining serializer Schemas and controllers for multiple models.
Content
Lesson | Est. Delivery Time | Skills |
---|---|---|
Setup | 5 min | Set up the development environment. |
Concepts | 5 min | Understand serialization and its role in FastAPI for data transfer and storage. |
Creating Pydantic Serializers for Data | 10 min | Create Pydantic models to serialize and normalize API data in FastAPI. |
Connecting Controllers to Database | 30 min | Implement CRUD operations by connecting FastAPI controllers to a database and using serializers. |
Testing API Endpoints | 10 min | Test API endpoints to perform and verify CRUD operations through the browser interface. |
Total content | 60 min |