TokFox is proof of concept of a service that provides peer identification and peer discovery in a WebRTC connection with Tokbox as the WebRTC service provider.
Peer identification is done via MSISDN. There is no MSISDN verification and no authentication mechanism for the server requests so far.
Check this video for a demo of a TokFox client running in Firefox OS, Firefox and Firefox for Android (password protected).
git clone https://github.com/ferjm/tokfox-server
cd tokfox-server
npm install
Before running the server, you need to set your Tokbox API key and secret:
export TB_KEY=<Your Tokbox API key>
export TB_SECRET=<Your Tokbox API secret>
You also need an instance of mongod
running.
To run the server do a simple:
gulp
You need to have an instance of mongod
running to be able to run the tests.
gulp test