First Page of the Application :
-
Create a form to collect the following information from the user:
- Name
- Phone number
If the user attempts to access the second page without providing the necessary information, redirect them back to the first page with a message indicating that they must enter their details before accessing the page
Second Page of the Application :
Fetch a list of JSON details from an API. You may use any API that returns a list of data and displays details in listview format .
On top of listview add a logout button and when the user clicks on it clear local storage and redirect to the login page.