Welcome to Cocktail Finder, a sleek and performant React Native application that helps you discover your favorite drinks and cocktails seamlessly. Built with modern React Native patterns and Expo, this application provides an intuitive search experience powered by TheCocktailDB API.
| Pantalla Resultados | Detalle del Cóctel | Pantalla Principal |
|---|---|---|
![]() |
![]() |
![]() |
- Live Search with Debouncing: As you type, the app intelligently waits for a pause before fetching results, optimizing network usage and API limits.
- Beautiful UI: Vibrant gradient backgrounds and clean, modern cards for displaying drink information.
- Cross-Platform Compatibility: Runs flawlessly on both iOS and Android.
- Dynamic Data: Fetches real-time cocktail data including images, names, and categories directly from a public REST API.
- Modular Architecture: Clean codebase separating hooks, styles, components, and main logic for high maintainability.
- Framework: React Native
- Toolchain: Expo SDK 50+
- Icons:
@expo/vector-icons(Ionicons, MaterialIcons, AntDesign, Fontisto) - Styling:
expo-linear-gradientand modularizedStyleSheet
cocktail-finder-app/
├── App.js # Main entry point and screen container
├── src/
│ ├── components/ # Reusable UI components
│ │ ├── DrinkCard.js # Card component to display individual drinks
│ │ └── Header.js # App header with logo and title
│ ├── hooks/ # Custom React hooks
│ │ └── useDebounce.js # Hook to delay search queries
│ └── styles/ # Centralized stylesheet definitions
│ └── AppStyles.js # Main application styles
├── package.json # Project dependencies and scripts
└── app.json # Expo configuration file
Make sure you have Node.js installed on your machine. You will also need the Expo Go app installed on your iOS or Android physical device, or an emulator/simulator setup on your computer.
- Clone the repository or download the source code.
- Navigate to the project directory in your terminal:
cd cocktail-finder-app - Install the dependencies using npm or yarn:
npm install # or yarn install
Start the Expo development server:
npm start
# or
yarn startOnce the server starts, you can:
- Scan the QR code with your phone's camera (iOS) or the Expo Go app (Android) to open the app on your physical device.
- Press
iin the terminal to open the iOS simulator (requires macOS and Xcode). - Press
ain the terminal to open the Android emulator (requires Android Studio). - Press
wto run it in your web browser.
This application uses the free tier of TheCocktailDB API.
- Endpoint used:
https://www.thecocktaildb.com/api/json/v1/1/search.php?s={search_query} - Note: The free tier does not require an authentication key.


