hatchways / team-hulk

0 stars 0 forks source link

Guestuser questions logout #57

Closed hassanfarahani closed 3 years ago

hassanfarahani commented 3 years ago

In this PR, I created two guest users, so you easily log in without username and password. I also changed the way we create an interview & get question for that interview room. In other words, when user go to Create Interview dialog & set the difficulty level of the room, by clicking the Create Interview button, a question with difficulty level of the room will be fetched from the db & the id of the question will be assigned to the questions field of the created interview. Then waiting room dialog pops up (here user can share the room link). By pressing the start button (go to room), the created interview will be fetched from the db & by using the question id (which is stored in the questions field of interview room), the appropriate question will be fetched from the db and displays on the interview room. I also added the logout functionality so now user can easily log out.