This is an exercise to showcase a react native app that lists some hotels and their details. With some sorting and filtering.
Note: To test the app you will need either an emulator or a device in dev mode connected.
You will also need a working environment: https://reactnative.dev/docs/environment-setup
-
Clone the react-native-hotels app
-
Install dependencies:
npm install -
Run the following command:
npm run install:android -
The app should be built and installed in your dev device or emulator.
-
Clone the react-native-hotels app
-
Install dependencies:
npm install -
Start the metro service and keep it running:
npm run start -
Launch the app with the following command:
npm run androidornpm run ios(The ios app hast been tested yet)
-
Clone the react-native-hotels app
-
Install dependencies:
npm install -
Run the following command:
npm run build:android -
The generated APK should be in
\android\app\build\outputs\apk\release\app-release.apk