Open nindaba opened 7 months ago
@fredrukundo wandebeye, ibikenewe ahangaha, washiramwo nka example ya schema uriko uratanga for user registration
kanze mbikore and i will see if i can provide some screenshots too
example of a user trying to register: User Registration:
"firstName": "amine",
"lastName": "amin",
"Title": "Mister",
"email": "amine@gmail.com",
"password": "12345678",
"repeatPassword": "12345678",
"profilePhoto": "photo.jpg",
"identityDocPhoto": "pssport.jpg",
"identityDocType": "Passport",
"phoneNumber": "1234567890",
"faceBookAccount": "https://www.facebook.com/john.doe",
"addresss": "123 Main Street",
"gender": "male",
"birthDate": "1990-08-15",
"nationality": "Rwanda",
"preferredCurrency": "USD",
"isVerified": false,
"isVerifiedTicket": true
}
User Registration: Users can sign up by providing their personal details. User Schema should look like this:
UserSchema