Closed sethshivam11 closed 2 months ago
@sethshivam11 I wanna work on this issue please assign me this
@Arghadip-Chatterjee can u please help me
@Sibam-Paul Yeah Sure, Tell me Your Doubt ?
@Arghadip-Chatterjee Yes
@sethshivam11 can u give me the credentials for the admin page as unable to debug it without the page
Sorry I can't provide you admin credentials, but you can do that locally in your PC by adding the below document in the MongoDB:
{
"fullName": "Admin",
"email": "admin@gmail.com",
"password": "$2a$12$qQV9zrPmL12XtobmJGs/ButihDL6svtvs3rlgq.FZkUdjXCLQfW6S",
"isAdmin": true,
"isAbsent": false,
}
The password is 123456
@sethshivam11 thanks
@Sibam-Paul Are you on it?
Yes I had exams now it ended will start working on it @sethshivam11
@Sibam-Paul Its okay, My exams are also going on.
@sethshivam11 Heyy!!, there is no activity since two weeks. I am willing to work on this issue
Implement an edit button just before the delete button on the /admin/addroom route.
Expected behavior: When a user clicks the edit button, a dialog box opens with a form having all the details which were before and at the end there are two buttons Save and Cancel. Clicking on cancel button just closes the dialog box. Clicking on Save button opens a fetch request.
Implementation:
/api/v1/rooms/update
with body:{ roomId, roomNumber, capacity, location }
where location can be only fromGround floor
,First floor
,Second floor
.Bearer ${accessToken}
.