Welcome to TripAdvisor Restaurant Finder, an innovative mobile application designed to enhance your dining experiences. This app allows you to search for nearby restaurants, query specific dining spots, add your favorite restaurants to a Room database, and view detailed information about your saved restaurants in a details screen. Built with Jetpack Compose and the Navigation library, and using Retrofit for network communication, TripAdvisor Restaurant Finder offers a seamless and intuitive user experience. Whether you're planning your next meal out or exploring dining options in a new city, our app has got you covered.
To get started with developing or building TripAdvisor Restaurant Finder, follow the steps below to set up your environment.
Ensure you have the following installed:
- Android Studio (latest version recommended)
- An Android device or emulator running Android API level 21 (Lollipop) or higher
Clone the repository to your local machine using Git:
git clone git@github.com:josegbel/restaurantfinder.git
Navigate into the project directory:
cd restaurantfinder
To fetch information about restaurants, TripAdvisor Restaurant Finder utilizes the TripAdvisor API. A valid API key is required to make successful requests to this API.
- Visit the TripAdvisor API Developer Portal: https://developer-tripadvisor.com/
- Sign up for an account or log in if you already have one.
- Follow the portal's instructions to create a new app and obtain your API key.
After obtaining your API key, add it to your project to enable API requests:
- Open the
local.properties
file located in the root directory of your project. - Add a new line at the end of the file with your API key:
tripadvisor_api_key="YOUR_API_KEY_HERE"
Replace YOUR_API_KEY_HERE
with the actual API key you obtained.
With the API key in place, you're ready to build and run the app:
- Open the project in Android Studio.
- Select a device or emulator.
- Hit the 'Run' button.
The app will build and install on your selected device or emulator.
- Search for Nearby Restaurants: Easily find dining options around you.
- Query Restaurants: Look up specific restaurants based on your preferences.
- Favorite Restaurants: Save your top picks to a Room database for easy access.
- Details Screen: View detailed information about your saved restaurants.
- Modern Tech Stack: Built with Jetpack Compose, Navigation library, Retrofit, JUnit, and Espresso.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
TripAdvisor Restaurant Finder is licensed under the MIT License. See the LICENSE
file for more details.