Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.01 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.01 KB

Collaborative-Code-Editor

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.

Technologies Used

  • Node.js
  • WebRTC
  • PeerJS
  • Express.js
  • Socket.io (Higher level implementation of WebSocket)
  • CodeMirror
  • EJS

To install dependencies

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!

To run the code

Run:

npm start

Troubleshooting

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.