- Clone the repo
git clone https://github.com/kaienlin/karpo.git cd frontend
- Install NPM packages
yarn
- Create a
.env
file with the following entriesBACKEND_API_URL=... GOOGLE_MAPS_API_KEY=... MAPS_SDK_IOS_API_KEY=... MAPS_SDK_ANDROID_API_KEY=...
yarn start
- For Android emulator user:
- If your backend is running on a local machine at http://localhost:<port_number>, execute the following command in your terminal:
This will expose the corresponding port on your Android device to that on your computer.
adb reverse tcp:<port_number> tcp:<port_number>
- If your backend is running on a local machine at http://localhost:<port_number>, execute the following command in your terminal:
- Build on local machine
yarn build-ios yarn build-android
- Build on EAS
yarn build-all
yarn e2e:run