Work with GraphQL in a modern startup 🙌
This project is builded with: React Native (hooks), GraphQL, Apollo, React Navigation, and a couple more detailed in package.json
.
- Create a file called
local.properties
atJobsQL/android/
with the following line:
sdk.dir=C:\\Users\\UserName\\AppData\\Local\\Android\\sdk
Replace UserName with your pc user name . Also make sure the folder is sdk or Sdk.
sdk.dir = /Users/USERNAME/Library/Android/sdk
Where USERNAME is your OSX username.
sdk.dir = /home/USERNAME/Android/Sdk
Where USERNAME is your linux username (Linux paths are case-sensitive: make sure the case of S
in Sdk
matches).
- Run
yarn android
- Run
cd ios && pod install
. - Run
cd ..
. - Run
yarn ios
.
In the project directory, you can run:
-
yarn android
: Build and install de app in Android (debug mode). -
yarn ios
: Build and install de app in iOS (debug mode). -
yarn start
: Starts the metro bundler. -
yarn test
: Run jest tests.