![](https://private-user-images.githubusercontent.com/69858580/281268531-2516b218-551b-4f91-b349-69acdacfcf8a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2ODY4NjIsIm5iZiI6MTcyNTY4NjU2MiwicGF0aCI6Ii82OTg1ODU4MC8yODEyNjg1MzEtMjUxNmIyMTgtNTUxYi00ZjkxLWIzNDktNjlhY2RhY2ZjZjhhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDA1MjI0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4YmNlYzI3Y2FlZTQ5Nzc3MjE2MTVjYmZmNzQzYzVjYjUwNTI3NzQ3NGU3MGY4Yzc4NDM2NmM4NDMzNGRiMzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.DD_4P-UyJpSjIbqCvCW4G47GUv0dxLsfDyUIWAYF7VM)
It's a Recipe Search App where utilize the "Forkify" API from https://forkify-api.herokuapp.com/ to fetch and display recipes.
- SplashScreen: A brief introduction to the app with a visually pleasing start.
- Registration Screen: Allows new users to create an account using Firebase Authentication.
- Login Screen: Enables existing users to sign in to their accounts.
- HomeScreen: The main interface of the app where users can search recipe and show the details of recipe.
- ProfileScreen: Allows users to view and edit their profile information stored in Firebase Realtime Database.
- Navigation Component
- Retrofit
- Kotlin Coroutines
- Firebase
- LiveData
- DataBinding
This application implements the MVVM (Model-View-ViewModel) architecture pattern, ensuring a separation of concerns and easier maintenance. It uses the Navigation Component for managing UI navigation, Retrofit for network calls, Coroutines for asynchronous tasks, and Firebase for user authentication and data storage. LiveData is used for observing data changes, and DataBinding for binding UI components in layouts to data sources.
Various design patterns are employed throughout the application, such as Repository for data operations and Singleton for Retrofit instance management.
- Android Studio Arctic Fox | 2020.3.1 Patch 2 or higher
- Min SDK version 27 (Oreo) or higher
- Clone the repository:
git clone https://github.com/DeveloperKits/RecipeSearchApp/
-
Open the project in Android Studio:
Launch Android Studio and select 'Open an Existing Project', then navigate to the cloned repository.
-
Configure Firebase:
- Go to the Firebase Console.
- Add a new project or use an existing one.
- Register your application with Firebase, download the google-services.json file, and place it in the app/ directory.
- Build the project:
- In Android Studio, select 'Build' from the top menu, then 'Rebuild Project'.
- Wait for the build to finish.
-
Run the application:
- Connect an Android device or use the Android emulator.
- Press 'Run' (the green play button) in Android Studio.