https://github.com/nomango/azure-webpubsub-demo
https://github.com/nomango/azure-webpubsub-demo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nomango/azure-webpubsub-demo
- Owner: Nomango
- Created: 2024-10-21T10:53:15.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-11-12T09:16:38.000Z (8 months ago)
- Last Synced: 2025-02-03T11:09:54.725Z (5 months ago)
- Language: TypeScript
- Size: 215 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
## Getting Started
First, run the development server:
```bash
pnpm dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## AWPS Tunnel
Use `awps-tunnel` to transfer data from Azure Web PubSub to local server.
```bash
export WebPubSubConnectionString="Endpoint=https://xxxxxxx.webpubsub.azure.com;AccessKey=yyyyyyy;Version=1.0;"
awps-tunnel run --hub chat --upstream http://localhost:8000
```