Intelligence, Advanced Charting & Trading Platform
docs(setup): add safe Cloudflare WebSocket and React chart integration templates
davoodmehraban89 committed
Oct 12, 2026 at 00:26 UTC
f7840398c8a589e83b8c144f1b1b9df27d9ae6c8
1 file changed
+18
deploy/chartnova/wrangler.realtime.example.toml
new
+18
@@ -0,0 +1,18 @@
1
+# Architecture example only. NEVER deploy without explicit approval and security review.
2
+name = "chartnova-realtime-gateway"
3
+main = "realtime-gateway.mjs"
4
+compatibility_date = "2026-10-12"
5
+workers_dev = false
6
+
7
+[[durable_objects.bindings]]
8
+name = "CHARTNOVA_REALTIME_HUB"
9
+class_name = "ChartNovaRealtimeHub"
10
+
11
+[[migrations]]
12
+tag = "v1"
13
+new_sqlite_classes = ["ChartNovaRealtimeHub"]
14
+
15
+# Set CHARTNOVA_REALTIME_PUBLISH_TOKEN only with:
16
+# wrangler secret put CHARTNOVA_REALTIME_PUBLISH_TOKEN --config deploy/chartnova/wrangler.realtime.example.toml
17
+# This does not create data licenses, market providers or a live stream.
18
+# Add explicit custom route, staging domain, quota limits and monitoring before deploy.