- REPO INFO
This is a fully working React Native application which uses NativeBase for UI, Hasura for backend and redux for state management.
Follow the steps below to get the app running quickly.
$ hasura quickstart roarman/native-base-todo-hasura
- This clones the project to a directory
native-base-todo-hasura. The react-native code lies in
- It creates a free hasura cluster for you.
npm installfrom the
$ cd react-native && npm install
Get your cluster name. Run
hasura cluster status. Copy the cluster name.
- Go to
react-native/src/hasuraAPi.js. Add your cluster name to this file.
clusterName = "buns47" //here "buns47" is the cluster name. Add your own.
$ git add . $ git commit -m "First commit" $ git push hasura master
npm startfrom the
- Scan the generated QR code from the Expo app on your phone. (Install from playstore or apple store)
- App will open up on your phone.
If you are stuck anywhere or if you find any bugs or issues with this application, please raise an issue here.