Skip to content

フロントVue3+TypeScript、バックAzureFunctions+SIgnalR構成をAPI統合したAzure Static Web Appsでホスティングしたサーバレスチャット

Notifications You must be signed in to change notification settings

drumath2237/signalr-swa-functions-chat

Repository files navigation

SignalR SWA Functions Chat

Azure Static Web Apps CI/CD

About

簡単なサーバレスチャットのデモ。 ローカル環境では Vite + Vue3 + TypeScript のフロントエンドと、 API 統合された Azure Functions + SignalR を Static Web Apps CLI でエミュレートして開発している。

img

Env

  • VSCode
  • Vue3
  • Vite
  • TypeScript
  • Yarn
  • @microsoft/signalr
  • Static Web Apps CLI
  • Azure Funtions Core Tools v4
  • SignalR Serivce (serverless mode)

Install & Usage

まず/api/local.settigs.jsonを作成し、SignalR の接続文字列を指定。 その後以下のコマンドにより実行。

# install packacges
yarn install

cd api/
yarn install

# run azure functions
yarn start:api

# start swa cli
yarn preview:swa

Contact

何かございましたらにー兄さんの Twitterまでお願いします。

About

フロントVue3+TypeScript、バックAzureFunctions+SIgnalR構成をAPI統合したAzure Static Web Appsでホスティングしたサーバレスチャット

Topics

Resources

Stars

Watchers

Forks