rusnyder / fastapi-plotly-dash

Sample application running a Dash app in a FastAPI server
MIT License
131 stars 29 forks source link
fastapi plotly-dash python

FastAPI + Dash Sample App

Sample application that runs a Dash app mounted inside a FastAPI webserver.

Quickstart

  1. Install dependencies
    poetry install
  2. Run webserver
    poetry run python -m app
  3. Load up in browser: http://localhost:8000

Routes

Route Description Link
GET / Base route (tests shared prefix) http://localhost:8000/
GET /status Non-Dash route http://localhost:8000/status
GET /dash Dash app http://localhost:8000/dash