Update for simplified client API and add Node.js hosting guide

Changes:
- Update App.jsx to use Rondevu.connect() instead of new + initialize()
- Update publishService to use 'service' parameter instead of 'serviceFqn'
- Remove explicit claimUsername() calls (now implicit)
- Add comprehensive NODE_HOST_GUIDE.md for hosting WebRTC services in Node.js
- Update README with Node.js hosting section

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-12 21:57:11 +01:00
parent 7747f59060
commit b9c07aeb5a
5 changed files with 933 additions and 47 deletions

View File

@@ -296,6 +296,15 @@ await peer.createOffer({
- **RTCDataChannel** - P2P messaging
- **QRCode** - QR code generation for easy topic sharing
## Node.js Service Hosting
Want to create a Node.js service that browser clients can connect to? See:
- **[NODE_HOST_GUIDE.md](NODE_HOST_GUIDE.md)** - Complete guide to hosting WebRTC services in Node.js
- **[test-connect.js](test-connect.js)** - Working example of a Node.js client
- **[TEST_README.md](TEST_README.md)** - Instructions for running the test client
Perfect for creating chat bots, data processors, game servers, or any service that browsers can connect to via WebRTC!
## License
MIT