This repo contains code for the Mobile app, built using React Native.
- Clone the repository
- Create a
.env
file with the following environment variables.
# For local server
# SERVER_HOST=http://localhost:3000
SERVER_HOST=http://localhost:3000
yarn install && expo start
Start running on an Android / iOS simulator:
yarn expo:ios
yarn expo:android
Lint checking and autofix:
- Prettier:
yarn format:check
yarn format:fix
- Eslint:
yarn eslint:check
yarn eslint:fix
Run expo login
first to login in to your expo account
- Build Android with
prevew
profile:
yarn build:android:preview
- Build iOS with
prevew
profile:
yarn build:ios:preview
App built with the preview
profile can only run on an simulator devices. Config eas.json
file to add more profile.