Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Integrating a FastAPI (Python) app within an Aspire application

This sample demonstrates integrating a FastAPI (Python) app and a JavaSript frontend using Aspire.

The sample consists of two apps:

  • app: This is a simple FastAPI-based Python app that returns randomly generated weather forecast data.
  • frontend: This is a Vite-based React app that renders the weather forecast data.

Prerequisites

Running the app

If using the Aspire CLI, run aspire run from this directory.

If using VS Code, open this directory as a workspace and launch the apphost.cs C# file using either the Aspire or C# debuggers.