Android App Developer Assignment
Task Details:
Design a user signup/login flow using firebase phone authentication using OTP and
take the following user details:
- First name
- Last Name
- User Name
- UserId
- PhoneNumber
Design a user profile page to display the following:
- User Name
- Display Name
- Photo URL (as provided in the GET response)
You can use the following sample screens for reference:
Integrate the following backend APIs
Submit User Details POST API :
curl --location '[Link]/v1/user/' \
--header 'Content-Type: application/json' \
--data '{
"id" : "dlfkj4589sdjhhl", // uId from firebase
"first_name" : "Ritu",
"last_name" : "Dadhwal",
"user_name" : "ritu_1997",
"phone_number" : "8388908302"
}'
Sample Response:
{
"id": "dlfkj4589sdjhhl",
"display_name": "Ritu Dadhwal",
"user_name": "ritu_1997",
"phone_number": "8388908302"
}
Fetch user details GET API:
curl --location '[Link]/v1/user/:id’
Note: Here :id is the userId
Sample Response:
{
"id": "dlfkj4589sdjhhl",
"display_name": "Ritu Dadhwal",
"user_name": "ritu_1997",
"phone_number": "8388908302"
}
Submission Deadline
< 2 day submission deadline>