This contains some working examples of Hyperties
The example of hyperty connector is running on files index.html/demo.js and we can send message and make a WebRTC call between remote hyperties through the vertx;
The example of hyperty chat is running on files index2.html/demo2.js and allow you send messages to a group of persons, in this example you can invite 2 persons, but if you have other person which want to join, you can share the resource url and they can join.
These examples have an dependecy from dev-msg-node-vertx and dev-registry-domain for communication between hyperties in two distinct browsers or tabs. At this moment you need run locally dev-msg-node-vertx and dev-registry-domain
How can start the example:
- you need, in the root folder, run command:
npm start - in your browser, access to:
- Hyperty Connector: http://127.0.0.1:8080/example
- Hyperty Chat: http://127.0.0.1:8080/example/index2.html
This examples works over https protocol, but how we are running in the 127.0.0.1, this address is considered secure for webRTC;