8000 GitHub - cnak/cksample-app: A sample react native project I developed to use as a boilerplate for future project
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A sample react native project I developed to use as a boilerplate for future project

License

Notifications You must be signed in to change notification settings

cnak/cksample-app

Repository files navigation

App

Getting Started

Install the dependencies

yarn install

Start expo development server locally

yarn start

iOS

To be able to run the iOS emulator, you will need to have the Xcode installed.

Start expo development server locally and open iOS emulator

yarn ios

Android

To be able to run the android emulator, you will need to first install Android Studio and create an emulator device.

Start expo development server locally and open Android emulator

yarn android

Configuration

Testing

Unit Tests

Unit tests are run using jest test runner. You can run unit tests with

yarn test

E2E Tests

End to end tests are using detox test runner. To run the end to end tests on iOS, you need to have expo binaries and applesimutils available.

Initial setup

yarn dl_expo_bins
brew install applesimutils

You can then run detox e2e tests with

yarn e2e

Built With

MobX

The app uses MobX as the state manager. The root store context is passed down from the top most component src/Main.tsx which allows new screens and components to access the store through the useStoreContext() function.

Deployments

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache-2.0

About

A sample react native project I developed to use as a boilerplate for future project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0