Website Link : https://peer2perer.social
Competitive programming plays key role in increasing problem solving abilities and knowledge on Data structure and algorithms among participants. After giving contest many of the participants in the contest want to discuss with others but other than codeforces comment section there is no other place where they can discuss.
Discussion on codeforces comment section is also not that efficient way of sharing ideas compared to real time discussion through audio and video. So our idea is to build a real time discussion platform. And we have extended this idea to other competitive exams like JEE, CAT, GATE by creating a common examination on the platform.
- We restricted to codeforces and JEE for this prototype and can be easily expanded to other sections
- Users will be able to register with their username(unique),email(unique) and password to the website and registered users will be redirected to the dashboard page.
- For codeforces section users will get authenticated with their handles
-
In the dashboard page there will be a list of events will be displayed along with their respective start times.There are two types of events
- Events are created by the admins
- Discussion Event
- This event is to have discussion among peers
- Discussion events are based on exam/contests. For competitve prgramming sections, there will be already contests on various platforms like codeforces, codechef, atcoder we will be allowing participants who participated in the correspoding contest event to register and participate in the discussion
- Exam Event
- For contest discssion there is already a common contest on competitive programming platforms. But for other sections like JEE, CAT, GATE there will be no common exam for all the participants. So we have implemented exam portal where we keep a common exam for each section and followed by its discussion event  library to handle the communication instead of HTTP request/response.
- Now the user can accept any one of the request he/she received and both of the users will be given a unique link where they can do post contest/exam discussion through live video stream which we have implemented using peer.js/webrtc library.
- User can start random pairing option which randomly pairs with other registered user who are also started random pairing on there side.
- Request sending, request recieving, room link sending , room link recieving are all real time communications
vivek1 got the request
Both joined in a room (since it is not depolyed yet, both are running in the same machine, so both have same images)
- Frontend : Reactjs
- Backend : Nodejs
- Database : MongoDB Atlas