1. Clone this repository into your local machine.
2. Change into this cloned directory using cd command.
3. Run the command "node server.js".
This will start a local web server that can be accessed within this local machine at the address http://localhost:3000.
You can host a proxy server to provide public access to this server.
1. http://localhost:3000/ returns a json string with ids of all the connected users, separately for student and teacher types.
2. http://localhost:3000/begin opens up a teacher page and a session is started with the teacher's id as the session id.
3. http://localhost:3000/join opens up a student page.
1. The teacher upon opening the begin page can fetch currently logged in users and send them an invite to join the session.
2. The student upon opening the join page can either manually enter a session id or accept an invitation followed by clicking on connect to join a session.