This is Breadfast interview task:
Libraries used in this repo:
1- Redux-Toolkit Query for API calls (RTK Query).
2- Shopify's Flashlist (For fast performance list rendering rather than flatlist).
3- React native skeleton placeholder (for shimmer loading effect).
4- React Navigation (Navigating through screens).
5- React Native fast Image (For fast rendering cached images).
Developer Comments:
1- In the requirements the username was mentioned in the post list however the API doesn't return it in the response of the post list so I used the user_id instead given that the intent was the same.
For cloning the repo and running the project, please follow these requirements:
run "yarn" for installing all the neccessary node modules
For running the app on iOS:
1- run "pod install".
2- run "yarn ios" if this didn't work try running "yarn" & "pod install" again then try running the app from Xcode by opening the workspace file on Xcode.
For running the app on Android:
1- run "yarn android" if the build fails please run the app from Android Studio by opening the android folder in the project from Android Studio
**Here are some screenshots with from the app meeting the requirements: ** iOS:
Android: