Skip to content

ndungudedan/amadeus-hotel-app

Repository files navigation


Amadeus Hotel Booking App Tutorial

Building a Mobile Hotel Booking App with Kotlin Multi-Platform and Amadeus!

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Resources

About The Project

Android app iOS app

This tutorial teaches you how to create a mobile hotel booking app in Kotlin Multi-Platform. You will use the Amadeus Hotel Search APIs to search for available hotels within major worldwide cities and complete the booking flow using the Amadeus Hotel Booking API. This tutorial will be in two parts:

  1. Part 1 teaches you how to search and display hotels within a given city.
  2. The final part shows you how to search and book available hotel rooms.

Built With

This tutorial uses the following frameworks/libraries:

Getting Started

To get started with this tutorial, you will need to do the following:

  1. Clone the repo

    git clone https://github.com/ndungudedan/amadeus-hotel-app

    If you are on part 1 of the tutorial, please checkout the part-1 branch:

    git checkout part-1

    However, if you would like to see the complete code for this 2-part series, please checkout the main branch:

    git checkout main
  2. Create an Amadeus developer account.

  3. To get your API keys, Create a new app on the Amadeus developer dashboard.

  4. Enter your API keys in shared/src/commonMain/kotlin/com/amadeus/hotel/AmadeusApi.kt

    append("client_id", "your-client-id")
    append("client_secret", "your-client-secret")
  5. Open, sync, and build your project on Android Studio.

  6. Open the iosApp folder on XCode to build and run the iOS version.

Usage

Please refer to these documentation guides for further understanding of the Amadeus API:

License

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

Resources

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published