Rutas de Aprendizaje Libros Cursos Categorías Anuncios

Deploying a Flask or FastAPI project to Railway

25-10-2025 - Andrés Cruz

Deploying a Flask or FastAPI project to Railway

Flask Learn how to easily deploy your Flask or FastAPI application to the cloud with Railway. This comprehensive guide covers setting up Gunicorn, Uvicorn, the Procfile, and the database to get your project into production in minutes.


Testing in FastAPI with Pytest

29-05-2025 - Andrés Cruz

Testing in FastAPI with Pytest

Python Learn how to perform unit testing in FastAPI with our comprehensive guide. We cover step-by-step how to use pytest and TestClient, tests for registration, login, logout, and token handling to ensure the quality and robustness of your API.


Hello World in FastAPI

13-02-2026 - Andrés Cruz

Hello World in FastAPI

Python We will create the first function in FastAPI for the API and learn the basics of FastAPI, start the server, create our controller and see the Hello World on the screen.


Declare sample request data in FastAPI

07-01-2026 - Andrés Cruz

Declare sample request data in FastAPI

Python Learn how to generate sample data in FastAPI to enrich your documentation. Discover how to use `json_schema_extra` in models and `openapi_examples` in `Body`, `Path`, and `Query` to facilitate API testing.


Migrating an application on FastAPI from Pydantic V1 to V2

02-03-2026 - Andrés Cruz

Migrating an application on FastAPI from Pydantic V1 to V2

Python Is your FastAPI project failing when migrating to Pydantic V2? Fix the 'orm_mode' error and use 'from_attributes' with ConfigDict. Practical guide and quick examples.


Authentication through Tokens in FastAPI using SQLAlchemy

02-03-2026 - Andrés Cruz

Authentication through Tokens in FastAPI using SQLAlchemy

Python We will see how to create a simple authentication system with FastAPI using SQLAlchemy together with a token system, generate tokens, remove them, verify expiration and much more.


Executing Code on Start or End using the Lifespan Event in FastAPI

26-02-2026 - Andrés Cruz

Executing Code on Start or End using the Lifespan Event in FastAPI

Python Optimize your API: Discover why you should use Lifespan in FastAPI instead of on_event events. A practical guide to managing your application's state and resources.


Clean Architecture in FastAPI: A Professional Refactoring Guide with Google Antigravity + Pattern Repository

16-02-2026 - Andrés Cruz

Clean Architecture in FastAPI: A Professional Refactoring Guide with Google Antigravity + Pattern Repository

Python Discover how to use AI agents and Gemini Anti-Gravity to refactor projects. We apply Clean Code principles in FastAPI to decouple your business logic and the Repository Pattern.


FastAPI WebSockets: A Complete Guide with Authentication, REST API, and Vue.js

26-02-2026 - Andrés Cruz

FastAPI WebSockets: A Complete Guide with Authentication, REST API, and Vue.js

Python Learn how to create your first WebSocket in FastAPI and consume it from a Vue app using authentication and a Rest API.


Creating an AutoCRUD in FastAPI + SQLAlchemy

25-02-2026 - Andrés Cruz

Creating an AutoCRUD in FastAPI + SQLAlchemy

Python Learn how to create an AutoCRUD in FastAPI with generics, APIRouter, Pydantic and SQLAlchemy, without depending on packages.