ARCHIVED: Moved to https://github.com/goncalvesj/application-templates
Simple chat app using an angular 8 app with azure signalr service and azure functions.
DEMO: https://angular-signalr.jpcloud.tk/
Contains 2 functions
- Negotiate (initiates the
signalrconnection) - Send Message (sends message to an user)
Create local.settings.json file with the below settings and start the function.
{ "IsEncrypted": false, "Values": { "AzureSignalRConnectionString": "CONN-STRING-HERE;", "FUNCTIONS_WORKER_RUNTIME": "dotnet" }, "Host": { "CORS": "http://localhost:4200", "CORSCredentials": true } }- Start functions in Visual Studio.
The web client used to initiate the chat.
Update env.js file with the API URL.
(function(window) { window.__env = window.__env || {}; window.__env.signalrUrl = 'http://localhost:7071/api'; })(this);- Run
npm i | ng servein VS Code - Open browser and test
docker build -t <repo/imagename>:<tag> .docker run --rm -d -p 8080:80 --name <name> <repo/imagename>:<tag>
See pipelines yaml files.
- Build and Pushes docker images
- Generates Helm charts and pushes to AKS