Deploy FastAPI on Ubuntu and Serve using Caddy 2 Web Server

In this tutorial we will see how to Deploy FastAPI on Ubuntu. Our FastAPI application does CRUD operations on a PostgreSQL database running on Ubuntu 18.04.5 LTS (Bionic Beaver). We expose FastAPI running on Gunicorn as a reverse proxy using Caddy 2 Web Server.

3 Comments
Deploy FastAPI on Ubuntu and Serve using Caddy 2 Web Server – TutLinks
Deploy FastAPI on Ubuntu and Serve using Caddy 2 Web Server – TutLinks

Debug FastAPI in VS Code IDE

In this tutorial we will setup Visual Studio Code IDE to help debug FastAPI repository. Analyse the state of variables and see how to debug FastAPI in VS Code. To do this we will add a debug configuration and create a breakpoint in a sample FastAPI repository and hit that breakpoint.

1 Comment
Debug FastAPI in VS Code IDE – TutLinks
Debug FastAPI in VS Code IDE – TutLinks