Closed dscwebdev closed 1 month ago
hasPaid
paymentMethod
paymentLocation
verifier
isEmailVerified
userStatus
password
email
/api/admin/getAllUsers
/api/admin/getUserByEmail/:email
/api/admin/createUser
/api/admin/deleteUserById
Admin Page
hasPaid
{boolean: true/false}paymentMethod
{String: Cash/Online/MathSoc}paymentLocation
{String: Any, non-empty}verifier
{String: Any, non-empty}isEmailVerified
{boolean: true/false}userStatus
{String: admin/member}password
{String: len >= 8}email
Admin API
/api/admin/getAllUsers
works/api/admin/getUserByEmail/:email
works/api/admin/createUser
works/api/admin/deleteUserById