Last active
July 14, 2023 10:43
-
-
Save Auwalms/0c4acdc6374c5d7a1c63371c41846bc3 to your computer and use it in GitHub Desktop.
Take Home Assignment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Design a webpage based on the spec below using React + Tailwind.css to display the data below. | |
// Design Spec: https://www.figma.com/file/7gL0IbxB9dqhBSZAH4am4v/InternshipTakeHomeDesign?type=design&node-id=0%3A1&mode=design&t=ma7uNppJpMIc0TIP-1 | |
// Optional: Display the score of each player as shown in the SetA, Set B, Set C and Set D nodes of the match object. | |
[ | |
{ | |
"_id": "64aee214dc9aa671f6403028", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_tournament": "64aee078dc9aa671f6402e6f", | |
"challenger": { | |
"_id": "64aea6bdf7c3ffa1fb6c4556", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "accepted", | |
"email": "[email protected]", | |
"firstname": "cyril", | |
"lastname": "ugoh", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:12:29.577Z", | |
"updatedAt": "2023-07-12T13:12:50.824Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168162929, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"challenged": { | |
"_id": "64aea72ef7c3ffa1fb6c462e", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "aniedi", | |
"lastname": "udo-Obong", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:14:22.054Z", | |
"updatedAt": "2023-07-12T13:14:44.091Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168275108, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"winner": { | |
"_id": "64aea6bdf7c3ffa1fb6c4556", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "accepted", | |
"email": "[email protected]", | |
"firstname": "cyril", | |
"lastname": "ugoh", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:12:29.577Z", | |
"updatedAt": "2023-07-12T13:12:50.824Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168162929, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"court": { | |
"_id": "648eed15a1563d6ea7feebd9", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_type": "public", | |
"name": "daniel", | |
"address": "cyril Second house", | |
"country": "Nigeria", | |
"state": "Lagos", | |
"paniedi": 0, | |
"image": "https://res.cloudinary.com/www-daniekeys-com/image/upload/v1686232363/Group_34506_y1mmxg.png", | |
"thumbnail": null, | |
"privateMode": true, | |
"createdAt": "2023-06-18T11:40:05.027Z", | |
"updatedAt": "2023-07-02T11:29:40.477Z", | |
"__v": 0 | |
}, | |
"time": "2023-07-13T18:21:00.000Z", | |
"setA": { | |
"challenger": 2, | |
"challenged": 3 | |
}, | |
"setB": { | |
"challenger": 4, | |
"challenged": 2 | |
}, | |
"setC": { | |
"challenger": 2, | |
"challenged": 3 | |
}, | |
"setD": null, | |
"player1_previous": null, | |
"player2_previous": null, | |
"next": null, | |
"round": 1, | |
"createdAt": "2023-07-12T17:25:40.896Z", | |
"updatedAt": "2023-07-12T17:26:31.119Z", | |
"__v": 0 | |
}, | |
{ | |
"_id": "64aee214dc9aa671f6403029", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_tournament": "64aee078dc9aa671f6402e6f", | |
"challenger": { | |
"_id": "64aea79af7c3ffa1fb6c46b5", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "sarah", | |
"lastname": "lawson", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:16:10.555Z", | |
"updatedAt": "2023-07-12T13:16:32.898Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168384383, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"challenged": { | |
"firstname": "micheal", | |
"lastname": "james", | |
"_id": "64aea79af7c3ffa1fb6c46b5", | |
"_club": "6484be0d6d1434cb280502fb" | |
}, | |
"winner": { | |
"_id": "64aea79af7c3ffa1fb6c46b5", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "sarah", | |
"lastname": "lawson", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:16:10.555Z", | |
"updatedAt": "2023-07-12T13:16:32.898Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168384383, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"court": { | |
"_id": "648eed15a1563d6ea7feebd9", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_type": "public", | |
"name": "daniel", | |
"address": "cyril Second house", | |
"country": "Nigeria", | |
"state": "Lagos", | |
"paniedi": 0, | |
"image": "https://res.cloudinary.com/www-daniekeys-com/image/upload/v1686232363/Group_34506_y1mmxg.png", | |
"thumbnail": null, | |
"privateMode": true, | |
"createdAt": "2023-06-18T11:40:05.027Z", | |
"updatedAt": "2023-07-02T11:29:40.477Z", | |
"__v": 0 | |
}, | |
"time": "2023-07-13T21:24:00.000Z", | |
"setA": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setB": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setC": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setD": null, | |
"player1_previous": null, | |
"player2_previous": null, | |
"next": null, | |
"round": 1, | |
"createdAt": "2023-07-12T17:25:40.896Z", | |
"updatedAt": "2023-07-12T17:26:53.557Z", | |
"__v": 0 | |
}, | |
{ | |
"_id": "64aee214dc9aa671f640302b", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_tournament": "64aee078dc9aa671f6402e6f", | |
"challenger": { | |
"_id": "64aea849f7c3ffa1fb6c4774", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "Daniel", | |
"lastname": "Ayeni", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:19:05.608Z", | |
"updatedAt": "2023-07-12T13:19:29.971Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168560969, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"challenged": null, | |
"winner": { | |
"_id": "64aea849f7c3ffa1fb6c4774", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "Daniel", | |
"lastname": "Ayeni", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:19:05.608Z", | |
"updatedAt": "2023-07-12T13:19:29.971Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168560969, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"court": { | |
"_id": "648eed15a1563d6ea7feebd9", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_type": "public", | |
"name": "daniel", | |
"address": "cyril Second house", | |
"country": "Nigeria", | |
"state": "Lagos", | |
"paniedi": 0, | |
"image": "https://res.cloudinary.com/www-daniekeys-com/image/upload/v1686232363/Group_34506_y1mmxg.png", | |
"thumbnail": null, | |
"privateMode": true, | |
"createdAt": "2023-06-18T11:40:05.027Z", | |
"updatedAt": "2023-07-02T11:29:40.477Z", | |
"__v": 0 | |
}, | |
"time": "2023-07-13T21:25:00.000Z", | |
"setA": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setB": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setC": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setD": null, | |
"player1_previous": null, | |
"player2_previous": null, | |
"next": null, | |
"round": 1, | |
"createdAt": "2023-07-12T17:25:40.896Z", | |
"updatedAt": "2023-07-12T17:27:17.302Z", | |
"__v": 0 | |
}, | |
{ | |
"_id": "64aee214dc9aa671f640302a", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_tournament": "64aee078dc9aa671f6402e6f", | |
"challenger": { | |
"_id": "64aea7edf7c3ffa1fb6c4713", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "lawal", | |
"lastname": "tobi", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:17:33.804Z", | |
"updatedAt": "2023-07-12T13:18:00.668Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168471500, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"challenged": { | |
"_id": "64aea7edf7c3ffa1fb6c4713", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "makinde", | |
"lastname": "soname" | |
}, | |
"winner": { | |
"_id": "64aea7edf7c3ffa1fb6c4713", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "lawal", | |
"lastname": "tobi", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:17:33.804Z", | |
"updatedAt": "2023-07-12T13:18:00.668Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168471500, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"court": { | |
"_id": "648eeffca1563d6ea7feec74", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_type": "public", | |
"name": "samason", | |
"address": "cyril Second house", | |
"country": "Nigeria", | |
"state": "Imo", | |
"paniedi": 0, | |
"image": "https://res.cloudinary.com/www-daniekeys-com/image/upload/v1686232363/Group_34506_y1mmxg.png", | |
"thumbnail": null, | |
"privateMode": false, | |
"createdAt": "2023-06-18T11:52:28.162Z", | |
"updatedAt": "2023-06-18T11:52:28.162Z", | |
"__v": 0 | |
}, | |
"time": "2023-07-21T18:21:00.000Z", | |
"setA": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setB": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setC": { | |
"challenger": 6, | |
"challenged": 0 | |
}, | |
"setD": null, | |
"player1_previous": null, | |
"player2_previous": null, | |
"next": null, | |
"round": 1, | |
"createdAt": "2023-07-12T17:25:40.896Z", | |
"updatedAt": "2023-07-12T17:27:34.472Z", | |
"__v": 0 | |
}, | |
{ | |
"_id": "64aee355dc9aa671f64030b6", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_tournament": "64aee078dc9aa671f6402e6f", | |
"challenger": { | |
"_id": "64aea6bdf7c3ffa1fb6c4556", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "accepted", | |
"email": "[email protected]", | |
"firstname": "cyril", | |
"lastname": "ugoh", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:12:29.577Z", | |
"updatedAt": "2023-07-12T13:12:50.824Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168162929, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"challenged": { | |
"_id": "64aea79af7c3ffa1fb6c46b5", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "sarah", | |
"lastname": "lawson", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:16:10.555Z", | |
"updatedAt": "2023-07-12T13:16:32.898Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168384383, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"winner": { | |
"_id": "64aea6bdf7c3ffa1fb6c4556", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "accepted", | |
"email": "[email protected]", | |
"firstname": "cyril", | |
"lastname": "ugoh", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:12:29.577Z", | |
"updatedAt": "2023-07-12T13:12:50.824Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168162929, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"court": { | |
"_id": "648eed15a1563d6ea7feebd9", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_type": "public", | |
"name": "daniel", | |
"address": "cyril Second house", | |
"country": "Nigeria", | |
"state": "Lagos", | |
"paniedi": 0, | |
"image": "https://res.cloudinary.com/www-daniekeys-com/image/upload/v1686232363/Group_34506_y1mmxg.png", | |
"thumbnail": null, | |
"privateMode": true, | |
"createdAt": "2023-06-18T11:40:05.027Z", | |
"updatedAt": "2023-07-02T11:29:40.477Z", | |
"__v": 0 | |
}, | |
"time": "2023-07-12T20:30:00.000Z", | |
"setA": { | |
"challenger": 3, | |
"challenged": 4 | |
}, | |
"setB": { | |
"challenger": 3, | |
"challenged": 2 | |
}, | |
"setC": { | |
"challenger": 5, | |
"challenged": 4 | |
}, | |
"setD": null, | |
"player1_previous": null, | |
"player2_previous": null, | |
"next": null, | |
"round": 2, | |
"createdAt": "2023-07-12T17:31:01.630Z", | |
"updatedAt": "2023-07-12T17:31:28.231Z", | |
"__v": 0 | |
}, | |
{ | |
"_id": "64aee355dc9aa671f64030b7", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_tournament": "64aee078dc9aa671f6402e6f", | |
"challenger": { | |
"_id": "64aea849f7c3ffa1fb6c4774", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "Daniel", | |
"lastname": "Ayeni", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:19:05.608Z", | |
"updatedAt": "2023-07-12T13:19:29.971Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168560969, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"challenged": { | |
"_id": "64aea7edf7c3ffa1fb6c4713", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "lawal", | |
"lastname": "tobi", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:17:33.804Z", | |
"updatedAt": "2023-07-12T13:18:00.668Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168471500, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"winner": { | |
"_id": "64aea849f7c3ffa1fb6c4774", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "Daniel", | |
"lastname": "Ayeni", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:19:05.608Z", | |
"updatedAt": "2023-07-12T13:19:29.971Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168560969, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"court": { | |
"_id": "648eeffca1563d6ea7feec74", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_type": "public", | |
"name": "samason", | |
"address": "cyril Second house", | |
"country": "Nigeria", | |
"state": "Imo", | |
"paniedi": 0, | |
"image": "https://res.cloudinary.com/www-daniekeys-com/image/upload/v1686232363/Group_34506_y1mmxg.png", | |
"thumbnail": null, | |
"privateMode": false, | |
"createdAt": "2023-06-18T11:52:28.162Z", | |
"updatedAt": "2023-06-18T11:52:28.162Z", | |
"__v": 0 | |
}, | |
"time": "2023-07-13T21:30:00.000Z", | |
"setA": { | |
"challenger": 3, | |
"challenged": 2 | |
}, | |
"setB": { | |
"challenger": 4, | |
"challenged": 2 | |
}, | |
"setC": { | |
"challenger": 4, | |
"challenged": 5 | |
}, | |
"setD": null, | |
"player1_previous": null, | |
"player2_previous": null, | |
"next": null, | |
"round": 2, | |
"createdAt": "2023-07-12T17:31:01.630Z", | |
"updatedAt": "2023-07-12T17:31:47.039Z", | |
"__v": 0 | |
}, | |
{ | |
"_id": "64aee911dc9aa671f6403156", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_tournament": "64aee078dc9aa671f6402e6f", | |
"challenger": { | |
"_id": "64aea6bdf7c3ffa1fb6c4556", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "accepted", | |
"email": "[email protected]", | |
"firstname": "cyril", | |
"lastname": "ugoh", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:12:29.577Z", | |
"updatedAt": "2023-07-12T13:12:50.824Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168162929, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"challenged": { | |
"_id": "64aea849f7c3ffa1fb6c4774", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "pending", | |
"email": "[email protected]", | |
"firstname": "Daniel", | |
"lastname": "Ayeni", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:19:05.608Z", | |
"updatedAt": "2023-07-12T13:19:29.971Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168560969, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"winner": { | |
"_id": "64aea6bdf7c3ffa1fb6c4556", | |
"_club": "6484be0d6d1434cb280502fb", | |
"state": "accepted", | |
"email": "[email protected]", | |
"firstname": "cyril", | |
"lastname": "ugoh", | |
"account_verify": true, | |
"image": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"dateOfBirth": "2023-04-13T00:58:41.180Z", | |
"thumbnail": "https://cdn-icons-png.flaticon.com/512/1077/1077114.png", | |
"notifcations": [], | |
"emailNotifcations": true, | |
"inAppNotifcations": true, | |
"createdAt": "2023-07-12T13:12:29.577Z", | |
"updatedAt": "2023-07-12T13:12:50.824Z", | |
"__v": 0, | |
"Token": "1234", | |
"TokenExpire": 1689168162929, | |
"resetPasswordExpire": null, | |
"resetPasswordToken": null | |
}, | |
"court": { | |
"_id": "648eed15a1563d6ea7feebd9", | |
"_club": "6484be0d6d1434cb280502fb", | |
"_type": "public", | |
"name": "daniel", | |
"address": "cyril Second house", | |
"country": "Nigeria", | |
"state": "Lagos", | |
"paniedi": 0, | |
"image": "https://res.cloudinary.com/www-daniekeys-com/image/upload/v1686232363/Group_34506_y1mmxg.png", | |
"thumbnail": null, | |
"privateMode": true, | |
"createdAt": "2023-06-18T11:40:05.027Z", | |
"updatedAt": "2023-07-02T11:29:40.477Z", | |
"__v": 0 | |
}, | |
"time": "2023-07-12T21:55:00.000Z", | |
"setA": { | |
"challenger": 6, | |
"challenged": 6 | |
}, | |
"setB": { | |
"challenger": 3, | |
"challenged": 4 | |
}, | |
"setC": { | |
"challenger": 3, | |
"challenged": 2 | |
}, | |
"setD": null, | |
"player1_previous": null, | |
"player2_previous": null, | |
"next": null, | |
"round": 3, | |
"createdAt": "2023-07-12T17:55:29.465Z", | |
"updatedAt": "2023-07-12T17:55:52.879Z", | |
"__v": 0 | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment