Skip to content

FastAPIのセットアップ

FastAPIアプリケーションをセットアップするには、以下の手順を実行します。

  1. プロジェクトディレクトリを作成します。
Terminal window
mkdir my_fastapi_app
cd my_fastapi_app
  1. 必要なパッケージをインストールします。
Terminal window
pip install fastapi uvicorn