A React Native Web app that fetches GitHub API.
- Run on Android and Web 🎉
- Infinite Scroll
Web Hosted on Surge, see it Live here:
The apk
for Android can be downloaded here.
Continuous Deployment by Visual Studio App Center for Native and CircleCI for Web. 🔥
Android | Web | |
---|---|---|
Home |
- Clone repository
$ git clone https://github.com/haruelrovix/rnw-github.git && cd rnw-github
- Install package dependencies
$ yarn
- Start React development server
$ yarn web
Compiled successfully!
You can now view react-native-web-github in the browser.
Local: http://localhost:3000/
On Your Network: http://w.x.y.z:3000/
Note that the development build is not optimized.
To create a production build, use yarn build.
- It will try to open browser at
port:3000
automatically. 👍
- Make sure you have android simulator running or a physical device connected
- Simply run
yarn android
$ yarn android
yarn run v1.9.4
$ react-native run-android
Scanning folders for symlinks in D:\Projects\rnw-github\node_modules (59ms)
Starting JS server...
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
...
In theory, it should be can be run on iOS simulator using yarn ios
command. Have no Mac machine to test it. 😅
RNW GitHub created using react-native-web and react-native-elements. 💖 Bootstrapped with CRNWA.