Skip to content

Sanath91009/PtoP

Repository files navigation

PtoP

Website Link : https://peer2perer.social

Problem trying to solve

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.

Solution camme up with

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.

Detailing

  • We restricted to codeforces and JEE for this prototype and can be easily expanded to other sections
  • home login
  • 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 discussion events2 events3
  • Now the Users will select the particular event and click on register for the event.Users should register before the event start time.
  • After the event started, user can join the event, if it is a exam event they will be redirected to eaxm portal where the exam takes place, if it is a discusion event then it will be redirected to Global room.
  • Here global room consists of all the users who have registered for that event with their username and score of its corresponding contest/exam. Groom user vivek1 sent request to adarsh1 AdarshGroom adarsh will be receiving the request in real time
  • Users can click on request on any of the users profile if he/she wants to discuss about the contest/exam with that user.
  • Also in global room the user can see the requests that other users made for him inorder to join the post contest/discussion with him. This works in real time where we have used web sockets (socket.io) 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.
  • roomLink vivek1 got the request
  • Request sending, request recieving, room link sending , room link recieving are all real time communications
  • Proom Both joined in a room (since it is not depolyed yet, both are running in the same machine, so both have same images)

Techstack

  • Frontend : Reactjs
  • Backend : Nodejs
  • Database : MongoDB Atlas

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages