Health Universe
  • Core Concepts
    • Overview of Health Universe
    • How Health Universe Works
  • Building Apps in Health Universe
    • Getting started with Health Universe
      • Create a Health Universe Account
      • Create a Github Account
      • Link your Github Account to your Health Universe Account
    • Creating a Workspace
    • Developing your Health Universe App
      • Streamlit vs FastAPI
      • Working in Streamlit
        • Typical Project Setup
        • Your First Health Universe App
        • Streamlit Best Practices
      • Working in FastAPI
        • Typical Project Setup
        • Your First Health Universe App
        • Navigator FastAPI best practices
    • Deploying your app to Health Universe
      • Deploying to Health Universe
      • Secret Management
      • Connecting to an LLM
      • Connecting to an external data source
  • Testing your app
  • Re-deploying your app
  • Document your app
  • Deleting your App on Health Universe
  • Additional resources
    • Data Formats, Standards & Privacy
    • External Tools and Libraries
Powered by GitBook
On this page

Was this helpful?

  1. Building Apps in Health Universe
  2. Developing your Health Universe App

Working in FastAPI

PreviousStreamlit Best PracticesNextTypical Project Setup

Last updated 20 days ago

Was this helpful?

FastAPI is a modern, high-performance Python web framework for building APIs quickly and efficiently. It supports automatic validation, async programming, and OpenAPI documentation out of the box—making it ideal for scalable healthcare services and backend workflows.

Key features:

  • Type hints for validation using Pydantic

  • Asynchronous support with async def

  • Auto-generated docs via Swagger and ReDoc

  • Fast—built on Starlette and Uvicorn

🔗 Official Resources

  • FastAPI Documentation: https://fastapi.tiangolo.com

  • Pydantic (data validation): https://docs.pydantic.dev

  • Starlette (underlying toolkit):

For healthcare developers, FastAPI pairs well with orchestrators like Navigator in Health Universe for managing clinical workflows and microservices at scale. This allows developers to leverage the power of Navigator to use clinical and workflow context to power their FastAPI apps.

https://www.starlette.io