Skip to main content

Doctor Plus - Patient (Expo)

Environment confirmation

In Expo template application, please setup environment follow Expo environment setup guide first.

Then to confirm all setup is ok, please execute command below to verify.

$ yarn -v

$ node -v

$ npm -v

$ expo --version

If you are using MacOS and work with iOS, please check your XCode is latest version.

$ /usr/bin/xcodebuild -version
Xcode 13.2.1
Build version 13C100

Run in development

cd <react-native-project-root>
yarn install

If you are using npm without yarn

cd <react-native-project-root>
npm install

Finally start simulator with command below

yarn android
# or
yarn ios

If you are using npm without yarn

npm run android
# or
npm run ios

File structure

- assets/                                     # Project fonts,icon and splash screen
- src/components/ # React Components
- src/configs/ # React configs and constant files
- src/container/ # Project screens
- src/hooks/ # React hooks
- src/images/ # Image asset files
- src/lib/ # Project library
- src/constants/ # Project constant files
- src/navigation/ # React Native Navigation
- src/redux/ # React Redux files
- src/style/ # Project global styles
- src/type/ # Project global types
- src/utils/ # Helper files
- app.json # App config
- App.tsx
- babel.config.js # Babel config
- package.json # Node packages
- tsconfig.json # Typescript config


Thank for your purchase, feel free to contact with us if you have any trouble when install application.


Thank you!