This app is a collaborative code editor, allowing users to establish a connection, share webcam video and audio, and utilizes sockets to maintain a code editor for the users to write code together with syntax highlighting and support for multiple languages.
- Node.js
- WebRTC
- PeerJS
- Express.js
- Socket.io (Higher level implementation of WebSocket)
- CodeMirror
- EJS
In the root directory, run:
npm install
This will install the core dependencies, afterwards run:
npm install -g peer
This will install the peerjs server used for WebRTC signaling. Now you're done with the installs!
Run:
npm start
You must give the browser permission to use the webcam and microphone for the program to work. If you did and there is still no webcam video, please check your OS' privacy settings. Also, note that port 3000 and 3001 must be free. If you encounter any errors, please feel free to contact me.