A signal server for WebRTC clients.
This server is used for signal WebRTC clients. During the early steps of this project this server might expose some REST APIs for development needs.
- NodeJS (preferred v8 and up)
- Docker and docker-compose tools
- Parcel module bundler for test client
- Restify (might get removed later)
- socket.io as WebSocket server
In project root:
- Install Parcel:
sudo npm install -g parcel
- Build the server container:
docker-compose build
- Run the container:
docker-compose up
- With
-d
flag for running in background
- With
- For testing browser client, open another terminal window (if needed) and
cd
totestclient
and runparcel index.html
- As you can see, the client will be available at
http://localhost:1234
- As you can see, the client will be available at
To run tests, install dependencies (see Development environment) and run docker-compose -f docker-compose.test.yml up
to watch the files and run tests continously when changes detected.