/react-native-hotels

A react native application.

Primary LanguageTypeScript

React Native Hotels APP

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

Steps to install the android app:

  1. Clone the react-native-hotels app

  2. Install dependencies: npm install

  3. Run the following command: npm run install:android

  4. The app should be built and installed in your dev device or emulator.

Steps to run locally in dev mode:

  1. Clone the react-native-hotels app

  2. Install dependencies: npm install

  3. Start the metro service and keep it running: npm run start

  4. Launch the app with the following command: npm run android or npm run ios (The ios app hast been tested yet)

Steps to build the android app:

  1. Clone the react-native-hotels app

  2. Install dependencies: npm install

  3. Run the following command: npm run build:android

  4. The generated APK should be in \android\app\build\outputs\apk\release\app-release.apk