https://github.com/murilobeltrame/hello-signalr-services
Azure SignalR Services Lab
https://github.com/murilobeltrame/hello-signalr-services
dotnet-core reactjs signalr webapi-core
Last synced: about 1 month ago
JSON representation
Azure SignalR Services Lab
- Host: GitHub
- URL: https://github.com/murilobeltrame/hello-signalr-services
- Owner: murilobeltrame
- License: mit
- Created: 2022-12-25T15:23:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T09:23:43.000Z (about 3 years ago)
- Last Synced: 2025-03-01T10:45:45.051Z (over 1 year ago)
- Topics: dotnet-core, reactjs, signalr, webapi-core
- Language: C#
- Homepage:
- Size: 959 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Azure SignalR Services Lab
## Run
Configure remote environment:
```sh
$ cd src/environment
$ az login
$ terraform init
$ terraform apply
```
Configure applications secrets:
```sh
$ cd src/environment
# Set Azure SignalR Service Connection String to API project
$ dotnet user-secrets --project ../backend/Backend.Api set "Azure:SignalR:ConnectionString" "$(terraform output -raw SignalRServiceConnectionString)"
# Set Azure SignalR Service Connection String to Jobs project
$ dotnet user-secrets --project ../backend/Backend.Job set "Azure:SignalR:ConnectionString" "$(terraform output -raw SignalRServiceConnectionString)"
```
Run backend applications:
```sh
$ cd src/backend
$ dotnet watch run --project Backend.Api
$ dotnet watch run --project Backend.Job
```
Configure frontend application:
- Rename `src/frontend/.env.example` to `src/frontend/.env.local`
- Fix URLs to match the running port for API application
Run frontend application:
```sh
$ cd src/frontend
$ npm ci
$ npm start
```