hatchways / team-hulk

0 stars 0 forks source link

Interview waitingroom dialogs with socket #47

Closed hassanfarahani closed 3 years ago

hassanfarahani commented 3 years ago

In this PR, I integrated the socket with authentication. In other words, if the user successfully logged in, the socket will be initialized automatically (I also defined a middleware for socket to check if the user has the valid token in the req header). After that, user redirects to the Dashboard page, over there, user can create an interview and the interview will add to the upcoming interviews in the dashboard page and then the waiting room dialog pops up. In the waiting room dialog, there is a link, which can be shared with other participants (interviewee or interviewer). As soon as the user click on the start button in the waiting room, an interview room will be created using socket. other participants can use the shared link to enter the created interview room.

bonnieli commented 3 years ago

@hassanfarahani please update this PR now that there is new changes in dev :)