Skip to content

k-yokoishi/goobit

Repository files navigation

Build Status

Goobit

iOS app to make your Good Habit!

It hasn't been released yet, but can be tried with Expo CDN.

How to develop Goobit

Prerequisites

  • Mac with macOS (at least macOS El Capitan 10.11)
  • Xcode 8.3+ with Xcode command line tools
  • Node 8.3.0 or above

Installation

  • Expo is used to manage this app

    npm install -g expo-cli
  • Install dependencies

    yarn install

Development

  • (Optional) Launch React Native Debugger

    yarn rndebugger

    Note: please enable remote debugging in the expo app

  • Launch expo server

    yarn start
    # or if you launch server with iOS simulator
    yarn ios
  • (Optional) Show Storybook if you check the each component

    • Can't up and run Storybook server with expo server (launched by yarn start) simultaneously
    yarn storybook
    

Testing

  • Unit tests (now including component tests)

    yarn test
  • E2E tests

    • Detox is used for E2E testing

    • To download iOS IPA, run:

      yarn setup-bin
    • Run E2E tests

      yarn ios # Start simulator in advance
      yarn e2e

    Note: Disable Hardware > Keyboard > Connect Hardware Keyboard in iOS simulator setting to use simulator's keyboard in E2E test.

About

📆 Make your Good Habit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published