Realtime chat application using Azure Functions and Azure SignalR
-
Clone the repository
-
In
./terraform
:- Change
prefix
invariables.tf
because Azure Storage and Azure Function names has to be globally unique- For the remainder of the documentation, the prefix
srvless-chat
WILL BE ASSUMED
- For the remainder of the documentation, the prefix
- Run
terraform init
to initialize Terraform - Run
terraform plan -out=out.tfplan
- Run
terraform apply out.tfplan
- Note the outputs of
terraform apply
- Change
-
In
./functions
- In
local.settings.json
, replace Azure SignalR connection string with placeholder<<AzureSignalRConnectionString>>
- Run
func start
to start local instances of Azure Functions
- In
-
Open
./index.html
using any internet browser- When the page prompts for Azure Function app base URL, enter
http://localhost:7071
- When the page prompts for username, enter any username you like
- When the page prompts for Azure Function app base URL, enter
- [] Publish Azure Functions to Azure to test the functionality
- [] Documentation
- No warranties or guarantees are made or implied.
- All assets here are provided by me "as is". Use at your own risk. Validate before use.
- I am not representing my employer with these assets, and my employer assumes no liability whatsoever, and will not provide support, for any use of these assets.
- Use of the assets in this repo in your Azure environment may or will incur Azure usage and charges. You are completely responsible for monitoring and managing your Azure usage.
Unless otherwise noted, all assets here are authored by me. Feel free to examine, learn from, comment, and re-use (subject to the above) as needed and without intellectual property restrictions.
If anything here helps you, attribution and/or a quick note is much appreciated.