React Hooks
React Navigation
Axios for fetch data
WebView auto-resize (free to use)
My Boilerplate
Refresh data scroll down
List Pagination (load more)
https://github.com/silogos/ReactNative-HackerNewsAPI
https://github.com/HackerNews/API
Node 10 or greater is required. Development for iOS requires a Mac and Xcode 9 or up, and will target iOS 9 and up.
You also need to install the dependencies required by React Native: https://reactnative.dev/docs/environment-setup
Assuming you have all the requirements installed, you can setup and run the project by running:
npm install --save
to install the dependenciescd android/app
keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
cd ../..
to come back to the root foldernpx run react-native start
to start the metro bundler, in a dedicated terminalnpx run react-native run-android
to run the Android application (remember to start a simulator or connect an Android phone)cd ios
pod install
to install pod dependenciescd ..
to come back to the root foldernpx run react-native start
to start the metro bundler, in a dedicated terminalnpx run react-native run-ios
to run the iOS application (remember to start a simulator or connect an iPhone phone)