Skip to content

Commit 72bff3a

Browse files
committed
minor update
1 parent a093fdb commit 72bff3a

3 files changed

Lines changed: 957 additions & 14 deletions

File tree

sdk/webpubsub-chat-client/examples/live-auction/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A real-time auction app built with the **Web PubSub Chat SDK**. Bids appear inst
1717

1818
## Prerequisites
1919

20-
1. An Azure Web PubSub resource (**PPE portal**, region `CentralUSEUAP` or `EastUS2EUAP`)
20+
1. An Azure Web PubSub resource
2121
2. Enable **Persistent Storage** (Table) and create a **Chat Hub** with chat feature enabled on the resource
2222
3. Copy the connection string
2323

@@ -27,22 +27,23 @@ A real-time auction app built with the **Web PubSub Chat SDK**. Bids appear inst
2727
# Install dependencies
2828
yarn install
2929

30-
# Start the server (pass your connection string)
30+
# Start the server
31+
node server.js
32+
```
33+
34+
Or set the environment variable:
35+
```bash
3136
export WebPubSubConnectionString="<your-connection-string>"
32-
yarn start
37+
node server.js
3338
```
3439

3540
Open `http://localhost:3000` in multiple browser tabs.
3641

3742
## Walkthrough
3843

3944
1. Open **two or more** browser tabs and log in with different usernames (e.g. `alice`, `bob`)
40-
2. In Alice's tab, create an auction:
41-
- Item: `Vintage Watch`
42-
- Starting price: `100`
43-
- Bidders: `bob`
45+
2. In Alice's tab, pick any item from the list and create an auction, invite `bob`
4446
3. Bob's tab will instantly show the new auction in "Active Auctions"
45-
4. Click the auction — the highest bid panel shows the starting price
46-
5. Bob places a bid of `$150` → Alice sees it update **instantly** (green flash)
47-
6. Alice outbids with `$200` → Bob sees it in real time
48-
7. The bid history shows every bid with timestamps, newest first
47+
4. Click the auction to enter, then click any bid increment button to place a bid
48+
5. Both tabs see bid updates in real time
49+
6. The bid history shows every bid with timestamps, newest first

sdk/webpubsub-chat-client/examples/quickstart/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ yarn install
1717
### 1. Start the server
1818

1919
```bash
20-
yarn server -- "<your-webpubsub-connection-string>"
20+
node server.js "<your-webpubsub-connection-string>"
2121
```
2222

2323
Or set the environment variable:
2424

2525
```bash
2626
export WebPubSubConnectionString="<your-connection-string>"
27-
yarn server
27+
node server.js
2828
```
2929

3030
### 2. Run the client
3131

3232
In a new terminal:
3333

3434
```bash
35-
yarn client
35+
node client.js
3636
```
3737

3838
## What this example does

0 commit comments

Comments
 (0)