Using HTMX with FastAPI
This tutorial looks at how use HTMX with FastAPI.
FastAPI is a modern, high-performance, batteries-included Python web framework that's perfect for building RESTful APIs. It can handle both synchronous and asynchronous requests and has built-in support for data validation, JSON serialization, authentication and authorization, and OpenAPI.
Highlights:
The tutorials and articles on TestDriven.io focus on developing and testing production-ready RESTful APIs, integrating FastAPI with Vue and React, and serving up machine learning models.
This tutorial looks at how use HTMX with FastAPI.
Secure a FastAPI application with JSON Web Tokens.
Configure SQLAlchemy, SQLModel, and Alembic to work with FastAPI asynchronously.
Develop a production-ready RESTful API for serving up a machine learning model with FastAPI.
This tutorial looks at how to configure Celery to handle long-running tasks in a FastAPI app.
Build a CRUD app with FastAPI and GraphQL.
Commonly used web authentication methods.
Configure FastAPI to run on Docker along with Postgres, Uvicorn, Traefik, and Let's Encrypt.
Use the Masonite ORM with FastAPI.
Enable multi-region support in a Python application.
Step-by-step walkthrough of how to set up a basic CRUD app with Vue and FastAPI.
Develop and test an asynchronous API with FastAPI, Postgres, pytest, and Docker using Test-driven Development (TDD).
How property-based testing via Hypothesis and Schemathesis can be used to test FastAPI
Develop an asynchronous API with FastAPI, MongoDB, and Beanie.
Build a CRUD app with FastAPI and React.
Interested in moving from Flask to FastAPI? This article compares and contrasts common patterns in both Flask and FastAPI.
Deploy a FastAPI Application to AWS Elastic Beanstalk.
Develop an asynchronous API with FastAPI and MongoDB.
Serve up a style transfer machine learning model with FastAPI and Streamlit.
Join our mailing list to be notified about updates and new releases.