nimblehq / ic-flutter-avishek

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Backend] As a user, I can see the list of surveys

AVI5HEK opened this issue · comments

Why

When a logged-in user opens the application, we will fetch all the available surveys and show them on the Home screen.

Acceptance Criteria

  • Call the endpoint /api/v1/surveys?page[number]=<number>&page[size]=<number> with request header: 'Authorization: {{user_token_type}} {{user_access_token}}'
  • Show an error if the API responds with an error.
  • Parse the JSON response to an object if it returns success.

Resources