Skip to content

Enable Burr UI to be added to existing FastAPI app#671

Open
Smitaambiger wants to merge 1 commit intoapache:mainfrom
Smitaambiger:feature/burr-ui-mount
Open

Enable Burr UI to be added to existing FastAPI app#671
Smitaambiger wants to merge 1 commit intoapache:mainfrom
Smitaambiger:feature/burr-ui-mount

Conversation

@Smitaambiger
Copy link
Contributor

This PR adds a reusable FastAPI factory and helper function to allow the Burr UI
to be mounted inside an existing FastAPI application.

Changes:

  • Added create_burr_ui_app() factory to construct the Burr UI FastAPI app.
  • Added mount_burr_ui(parent_app, path="/burr") helper to mount the UI as a sub-application.
  • Preserved existing behaviour with app = create_burr_ui_app().

This enables users to run Burr tracking UI alongside their own FastAPI services
in the same application.

Closes #503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable Burr UI to be added to existing FastAPI app

1 participant