Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 13f12db

Browse files
committed
add simple example.
1 parent 1753ff8 commit 13f12db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/get-started/foundations/projects/local-development.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,14 @@ A full example with example configuration is shown below:
7676

7777
```yaml
7878
apis:
79-
# 👀 Configure the "main" API to run on port 6001
79+
# 👀 Configure an API named "main" to run on port 6001
80+
# e.g. const mainApi = api("main");
8081
main:
8182
port: 6001
8283

8384
websockets:
84-
# 👀 Configure the "ws" WebSocket to run on port 6002
85+
# 👀 Configure a WebSocket named "ws" to run on port 6002
86+
# e.g. const ws = websocket("ws");
8587
ws:
8688
port: 6002
8789
```

0 commit comments

Comments
 (0)