native
: a react-native app built with expoweb
: a Next.js app built with react-native-webui
: a stub react-native component library shared by bothweb
andnative
applicationsapi
: re-usable backend code shared by bothweb
andnative
applicationsclient-logic
: re-usable client logic shared by bothweb
andnative
applicationsstoryblok-types
: types for our Storyblok contenttsconfig
:tsconfig.json
s used throughout the monorepoeslint-config-custom
: custom eslint config used throughout the monorepo
Each package/app is 100% TypeScript.
-
Copy the
.env
file to.env.local
and fill in the values inweb
directory. You can find secrets in our company Bitwarden vault. -
Run the following command to install dependencies:
yarn
-
Run the following command to start the NextJS app:
yarn dev
-
Install Expo CLI by running:
npm i -g expo-cli@6.0.8
-
Run the following command to start the Expo app (we keep this separate from the NextJS app so that we can leverage the Expo interactive CLI tools and choose simulator platform):
yarn dev:ios
or
yarn dev:android
-
To lint the codebase, run:
yarn lint:fix
- Web
- Google Play Store (remember to adjust the version code in the URL)
- Apple Store