You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
## The Brief…
4
4
Create a screen that allows a user to login to their moneybox account and display their total plan value.
5
5
6
-
Duration: 2 hours
6
+
**Duration: 2 hours**
7
7
8
8
## What we are looking for…
9
9
A fully working Android application
@@ -15,12 +15,14 @@ Unit Tests
15
15
## The Project…
16
16
The project includes the networking code and models to complete the task, you will just need to integrate them and implement the logic.
17
17
18
-
The `Networking` class contains the `OkHttp` and `Retrofit` instances with the required headers for an unauthenticated request.
19
-
The `models` package contains the request and response models with all the fields required for the rest of the task.
18
+
-The `Networking` class contains the `OkHttp` and `Retrofit` instances with the required headers for an unauthenticated request.
19
+
-The `models` package contains the request and response models with all the fields required for the rest of the task.
20
20
21
21
## Part 1 - Login Screen…
22
22
We would like to allow the user to enter their email address and password and login to our app. Please design your screen according to the wireframes below:
23
23
24
+

25
+
24
26
To login please use the endpoint and credentials below:
25
27
```
26
28
Endpoint: @POST("users/login")
@@ -32,6 +34,8 @@ You can use `LoginRequest` to make your request and `LoginResponse to parse your
32
34
## Part 2 - Display Plan Value
33
35
Once you have logged in, please create a simple screen that displays the user's `TotalPlanValue`. Please design your screen according to the wireframe below:
34
36
37
+

38
+
35
39
To retrieve this data please use the endpoint with an additional authorization header, replacing BEARER_TOKEN_HERE with the bearer token you get in `SessionDataResponse`:
0 commit comments