This folder contains all the files you'll need to create a simple server with EasyRTC, Express, and Socket.io. You can copy these files where you wish.
- package.json - Provides project information allowing npm to find and install required modules.
- server.js - Server code.
- /static/ - Root folder for web server. Put html files here!
- Type
npm install
in console. - This will read the package.json file to find and install the required modules including EasyRTC, Express, and Socket.io.
- Required modules will go into a new 'node_modules' subfolder
- Type
node server
in console.
- In your WebRTC enabled browser, visit your server address including the port. By default port 8080 is used.
- http://localhost:8080/