Skip to content

Latest commit

 

History

History
250 lines (172 loc) · 9.38 KB

README.md

File metadata and controls

250 lines (172 loc) · 9.38 KB

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

WeTravel

An React Native UI project

Table of Contents

Screenshots

Splash Screen

Image 1: Splash Screen


Login or Signup Screen

Image 2: Login or Signup Screen


Login Screen

Image 3: Login Screen


Home Screen

Image 4: Home Screen


Reviews Screen

Image 5: Reviews Screen


Notifications Screen

Image 6: Notifications Screen


Account Info & Setting Screen

Image 7: Account Info & Setting Screen


Payment Screen

Image 8: Payment Screen


Account Information Screen

Image 9: Account Information Screen


Tour Detail Screen

Image 10: Tour Detail Screen


Select Payment Method Screen

Image 11: Select Payment Method Screen


Ticket Overview Screen

Image 12: Ticket Overview Screen


Success Payment Screen

Image 13: Success Payment Screen


Review Detail Screen

Image 14: Review Detail Screen


Built With

Getting Started

This is an instructions on setting up our project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

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

Installation

  1. Clone the repo
git clone https://github.com/vantrong291/wetravel.git
  1. Install NPM packages
npm install
  1. Run it !
yarn r

License

Distributed under the MIT License. See LICENSE for more information.

Contact

vantrong291 - [email protected]

Project Link: https://github.com/vantrong291/wetravel