Welcome to the Orion Talent React Native project! This project is set up with various dependencies and scripts to help you get started with building a mobile app. This README file will guide you through the steps required to run the project locally on your development machine.
Before you start, make sure you have the following software installed on your machine:
- Node.js (>=16)
- Yarn or npm (Yarn is recommended)
- React Native CLI
- Xcode and Android Studio (if you plan to run the app on iOS and Android simulators/emulators)
-
Clone the Repository:
git clone https://github.com/isaacpitwa/orion cd oriontalent -
Install Dependencies:
Use Yarn or npm to install the project dependencies by running the following command:
yarn install # or npm install
You can run the app on both iOS and Android simulators/emulators or on physical devices. Make sure you have the necessary simulators/emulators set up or a device connected to your development machine.
To run the app on an iOS simulator or device:
-
Navigate to the project directory.
-
Start the Metro Bundler:
yarn start # or npm start -
In a separate terminal, run the following command to launch the app on the iOS simulator:
yarn ios # or npm run ios
To run the app on an Android emulator or device:
-
Navigate to the project directory.
-
Start the Metro Bundler:
yarn start # or npm start -
In a separate terminal, run the following command to launch the app on the Android emulator:
yarn android # or npm run android
yarn lintornpm run lint: Run ESLint to check and fix code style issues.yarn testornpm test: Run Jest for running tests.yarn startornpm start: Start the Metro Bundler.- Other scripts mentioned in the
package.jsonfile can also be executed as needed.
Here's an overview of the project structure for the Orion Talent React Native app:
-
src/- Source filescomponents/- Reusable app componentsscreens/- Application screensapi/- API integrationsutil/- Application utility files
-
ios/- iOS platform-specific code- Contains configurations and native code for iOS.
-
android/- Android platform-specific code- Contains configurations and native code for Android.
-
Your source code can be found in the project root, particularly in the
srcdirectory. -
Configuration files are typically located in the project root as well.
If you encounter any issues while setting up or running the project, please refer to the documentation of the specific libraries and tools you are using. Additionally, feel free to reach out to the project maintainers or the community for assistance.
Happy coding!