├── .buckconfig ├── .eslintrc.js ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .prettierrc.js ├── .watchmanconfig ├── App.js ├── README.md ├── __tests__ └── App-test.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── build_defs.bzl │ ├── debug.keystore │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── nhostreactnativeexampleapp │ │ │ └── ReactNativeFlipper.java │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── nhostreactnativeexampleapp │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios ├── Podfile ├── Podfile.lock ├── nhostReactNativeExampleApp-tvOS │ └── Info.plist ├── nhostReactNativeExampleApp-tvOSTests │ └── Info.plist ├── nhostReactNativeExampleApp.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── nhostReactNativeExampleApp-tvOS.xcscheme │ │ └── nhostReactNativeExampleApp.xcscheme ├── nhostReactNativeExampleApp.xcworkspace │ └── contents.xcworkspacedata ├── nhostReactNativeExampleApp │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── nhostReactNativeExampleAppTests │ ├── Info.plist │ └── nhostReactNativeExampleAppTests.m ├── metro.config.js ├── nhostExample.gif ├── package.json ├── src ├── AppRoot │ └── index.js ├── assets │ └── logo.png ├── exampleAuth │ ├── login │ │ └── index.js │ └── register │ │ └── index.js └── helpers │ ├── api.js │ ├── constants.js │ ├── getRequestObject.js │ └── nhostSdk │ └── index.js └── yarn.lock /.buckconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/.buckconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native-community', 4 | }; 5 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/.flowconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/App.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/App-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/__tests__/App-test.js -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/BUCK -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/build.gradle -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/build_defs.bzl -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/debug.keystore -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /android/app/src/debug/java/com/nhostreactnativeexampleapp/ReactNativeFlipper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/debug/java/com/nhostreactnativeexampleapp/ReactNativeFlipper.java -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/app/src/main/java/com/nhostreactnativeexampleapp/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/java/com/nhostreactnativeexampleapp/MainActivity.java -------------------------------------------------------------------------------- /android/app/src/main/java/com/nhostreactnativeexampleapp/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/java/com/nhostreactnativeexampleapp/MainApplication.java -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/build.gradle -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/gradle.properties -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/gradlew -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/gradlew.bat -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/android/settings.gradle -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/app.json -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/babel.config.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/index.js -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/Podfile -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/Podfile.lock -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp-tvOS/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp-tvOS/Info.plist -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp-tvOSTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp-tvOSTests/Info.plist -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp.xcodeproj/xcshareddata/xcschemes/nhostReactNativeExampleApp-tvOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp.xcodeproj/xcshareddata/xcschemes/nhostReactNativeExampleApp-tvOS.xcscheme -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp.xcodeproj/xcshareddata/xcschemes/nhostReactNativeExampleApp.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp.xcodeproj/xcshareddata/xcschemes/nhostReactNativeExampleApp.xcscheme -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp/AppDelegate.h -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp/AppDelegate.m -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp/Base.lproj/LaunchScreen.xib -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp/Info.plist -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleApp/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleApp/main.m -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleAppTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleAppTests/Info.plist -------------------------------------------------------------------------------- /ios/nhostReactNativeExampleAppTests/nhostReactNativeExampleAppTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/ios/nhostReactNativeExampleAppTests/nhostReactNativeExampleAppTests.m -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/metro.config.js -------------------------------------------------------------------------------- /nhostExample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/nhostExample.gif -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/package.json -------------------------------------------------------------------------------- /src/AppRoot/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/src/AppRoot/index.js -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/exampleAuth/login/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/src/exampleAuth/login/index.js -------------------------------------------------------------------------------- /src/exampleAuth/register/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/src/exampleAuth/register/index.js -------------------------------------------------------------------------------- /src/helpers/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/src/helpers/api.js -------------------------------------------------------------------------------- /src/helpers/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/src/helpers/constants.js -------------------------------------------------------------------------------- /src/helpers/getRequestObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/src/helpers/getRequestObject.js -------------------------------------------------------------------------------- /src/helpers/nhostSdk/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/src/helpers/nhostSdk/index.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nhost/nhost-react-native-example-app/HEAD/yarn.lock --------------------------------------------------------------------------------