A sample app in react native with following functionalities
-
Initially the app will check whether the user has already logged in. If yes, then the screen will redirect to Dashboard directly. If not, then it will be navigated to Login Screen.
-
Login Screen. If the user doesn't have account, clicking on Sign Up will redirect to Sign Up screen.
-
Sign Up Screen. The user should create an account with password more than 8 characters.
-
After logging in, the Dashboard screen will appear. The user can sign out anytime by clicking on "Log Out" button.
-
On scrolling, the new posts will load from the API with pagination.
-
When there is no data from API, the list stops fetching from API.