Skip to main content

What is it

FastAPI is a modern, fast web framework for building APIs with Python 3.7+ based on standard Python type hints. It provides automatic API documentation, data validation, and serialization.

Why we use it

The Launchpad uses FastAPI because of its tight integration with Pydantic for automatic data validation, built-in OpenAPI documentation generation, and excellent performance for asynchronous operations. Its dependency injection system makes it perfect for managing database sessions, authentication, and other shared resources.

Where we use it

We just use it to create endpoints, which most of the times is used as the entry point for an event.

Further Reading

For advanced FastAPI features, middleware, testing, and deployment options, refer to the official FastAPI documentation.
I