Try FastAPI API Test Driven Development 2024
Published 3/2024
Created by Very Academy
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English
| Duration: 104 Lectures ( 15h 1m ) | 7.6 GB[/align]
Towards Building Secure and Scalable APIs with FastAPI and Test-Driven Development
What you'll learn:
Install and configure FastAPI, Docker, and essential Python libraries.
Establish project structure and best practices for managing dependencies.
Implement linting and formatting tools for clean and maintainable code.
Grasp the power of Docker for containerization and simplified database deployment.
Learn to configure and manage PostgreSQL databases.
Leverage Python-dotenv for secure environment variable handling.
Work with SQLAlchemy for efficient database interactions.
Implement Alembic for streamlined database migrations.
Understand the test database workflow for effective testing.
Install and configure Pytest, the industry-standard testing framework.
Automate database creation and removal for streamlined testing.
Employ Pytest marks for efficient test discovery and organization.
Gain a comprehensive understanding of Entity-Relationship Diagrams (ERDs) for data modeling.
Implement unit tests to validate table existence, columns, constraints, and relationships.
Explore FastAPI error logging for comprehensive debugging.
Master Pydantic schemas for data validation and serialization/deserialization.
Develop comprehensive unit tests for various functionalities of your API endpoints.
Cover creating, retrieving, updating, and deleting data with unit tests.
Learn to handle exceptions gracefully within your API endpoints.
Delve into integration testing to verify the interaction between your API and the database.
Set up a robust integration testing environment for comprehensive validation.
Develop integration tests for CRUD (Create, Read, Update, Delete) operations on your endpoints.
Analyze code coverage to ensure a significant portion of your code is tested.
Explore manual testing techniques for additional validation using FastAPI documentation.
Requirements:
You will need a computer which can support Python, Visual Studio Code and Docker Desktop
https://rapidgator.net/file/6af2e0b488881e9ebd37a167bd53c8f2/ https://rapidgator.net/file/d89d9ff6e720b44a36019b30cbb3871c/ https://rapidgator.net/file/80db7bdfd169f377fb27e8979338813e/ https://rapidgator.net/file/85b73af0c47ad34948816838417b01e7/
https://ddownload.com/ifhmvxm2y63g https://ddownload.com/cc3ymh1zrbdn https://ddownload.com/7aiudbor9689 https://ddownload.com/4noboi04q1zh