Skip to content

Work with GraphQL in a modern startup (React Native) 🙌

Notifications You must be signed in to change notification settings

fervailanti/JobsQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JobsQL

Work with GraphQL in a modern startup 🙌

Stack

This project is builded with: React Native (hooks), GraphQL, Apollo, React Navigation, and a couple more detailed in package.json.

Setting up

Android

  1. Create a file called local.properties at JobsQL/android/ with the following line:

For Windows users:

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.

For Mac users:

sdk.dir = /Users/USERNAME/Library/Android/sdk

Where USERNAME is your OSX username.

For Linux (Ubuntu) users:

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).

  1. Run yarn android

iOS

  1. Run cd ios && pod install.
  2. Run cd ...
  3. Run yarn ios.

Available Scripts

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.