Skip to content

haruelrovix/rnw-github

Repository files navigation

rnw-github Build status CircleCI

A React Native Web app that fetches GitHub API.

  • Run on Android and Web 🎉
  • Infinite Scroll

Deployment

Web Hosted on Surge, see it Live here:

✔️ rnw-github.surge.sh

The apk for Android can be downloaded here.

Continuous Deployment by Visual Studio App Center for Native and CircleCI for Web. 🔥

Android Web
Home

Development

  1. Clone repository
$ git clone https://github.com/haruelrovix/rnw-github.git && cd rnw-github
  1. Install package dependencies
$ yarn

Web

  1. 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.
  1. It will try to open browser at port:3000 automatically. 👍

Android

  1. Make sure you have android simulator running or a physical device connected
  2. 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
 ...
 

iOS

In theory, it should be can be run on iOS simulator using yarn ios command. Have no Mac machine to test it. 😅

Acknowledgements

RNW GitHub created using react-native-web and react-native-elements. 💖 Bootstrapped with CRNWA.