React Native app for Makelar. This repository uses the React Native CLI.
- Node.js >= 20
- Yarn (recommended)
- Android Studio / Xcode
- Ruby + Bundler (for iOS CocoaPods)
yarn installEnvironment files live in the root:
.env.development.env.production.env.default
Set the active environment:
yarn env:dev
# or
yarn env:prodStart Metro:
yarn startAndroid:
yarn android:dev
# or
yarn android:prodiOS (install pods first):
bundle install
bundle exec pod install --project-directory=iosThen run:
yarn ios:dev
# or
yarn ios:prodOptional device run:
IOS_DEVICE="iPhone 15 Pro" yarn ios:dev:dCommon commands:
yarn start:resetreset Metro cacheyarn start:developmentstart Metro with dev envyarn start:productionstart Metro with prod envyarn lintrun eslintyarn testrun jestyarn prettyformat js/ts/tsxyarn build:apk:developmentbuild Android APK (dev)yarn build:apk:productionbuild Android APK (prod)
src/componentsreusable UI componentssrc/scenesscreens and flowssrc/storeZustand storessrc/servicesAPI clientssrc/constantsapp constantssrc/stylestheme tokenssrc/helpersshared utilities
yarn testyarn lint