An React Native UI project
Image 1: Splash Screen
Image 2: Login or Signup Screen
Image 3: Login Screen
Image 4: Home Screen
Image 5: Reviews Screen
Image 6: Notifications Screen
Image 7: Account Info & Setting Screen
Image 8: Payment Screen
Image 9: Account Information Screen
Image 10: Tour Detail Screen
Image 11: Select Payment Method Screen
Image 12: Ticket Overview Screen
Image 13: Success Payment Screen
Image 14: Review Detail Screen
This is an instructions on setting up our project locally. To get a local copy up and running follow these simple example steps.
Some prerequisites that you need to run locally.
- npm
npm install npm@latest -g
- react-native
npm install -g react-native-cli
- Android SDK
Download and install Android Studio. Choose a "Custom" setup when prompted to select an installation type. Make sure the boxes next to all of the following are checked:
* Android SDK
* Android SDK Platform
* Android Virtual Device
Then, click "Next" to install all of these components.
If the checkboxes are grayed out, you will have a chance to install these components later on.
Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.
2. Install the Android SDK
Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 9 (Pie) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.
The SDK Manager can be accessed from the "Welcome to Android Studio" screen. Click on "Configure", then select "SDK Manager".
The SDK Manager can also be found within the Android Studio "Preferences" dialog, under Appearance & Behavior → System Settings → Android SDK.
Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 9 (Pie) entry, then make sure the following items are checked:
Android SDK Platform 28
Intel x86 Atom_64 System Image or Google APIs Intel x86 Atom System Image
Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build-Tools" entry, then make sure that 28.0.3 is selected.
Finally, click "Apply" to download and install the Android SDK and related build tools.
3. Configure the ANDROID_HOME environment variable
The React Native tools require some environment variables to be set up in order to build apps with native code.
Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc config file:
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
- Clone the repo
git clone https://github.com/vantrong291/wetravel.git
- Install NPM packages
npm install
- Run it !
yarn r
Distributed under the MIT License. See LICENSE
for more information.
vantrong291 - [email protected]
Project Link: https://github.com/vantrong291/wetravel