HappyHourHub is your go-to resource for discovering, crafting, and enjoying a wide range of delightful cocktails. Whether you're a seasoned mixologist or a novice enthusiast, this app is your companion for all things related to mixed drinks.
🍸 Explore Tons of Cocktails
- Discover a variety of cocktail recipes for every taste. From classics to trendy drinks, HappyHour Hub has something for everyone.
🧑🍳 Admin Features
- If you're a cocktail expert, you can share your favorite recipes as an admin. You can also manage the recipes by deleting ones you don't like.
🛒 Easy Cart System
- Create your personal cocktail cart by adding your favorite recipes. If you change your mind, it's easy to remove items from your cart.
💳 Safe and Simple Payments
- Ready to make your favorite drink? HappyHour Hub offers secure payment options for purchasing ingredients. Your payment information is kept safe.
- Java: The language that makes HappyHour Hub work.
- MVVM Architecture: The app is designed using the Model-View-ViewModel architectural pattern for better separation of concerns and maintainability.
- Retrofit: Used for making network requests to fetch data from the CocktailDB APIs.
- LiveData: Used for observing changes in data and updating the UI accordingly.
- SQLite: Stores user and recipe info.
- Clone the repository to your local machine.
- Open the project in Android Studio.
- Build and run the app on your preferred Android emulator or physical device.
- Explore the app and enjoy browsing meals and cocktails!
//Android Navigation
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.5'
implementation "androidx.navigation:navigation-ui-ktx:2.7.5"
//retrofit and gson converter
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
// ViewModel
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
// LiveData
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version"
//Glide
implementation 'com.github.bumptech.glide:glide:4.13.0'
//loading button
implementation 'br.com.simplepass:loading-button-android:2.2.0'
//stripe and volley
implementation ("com.stripe:stripe-java:24.3.0")
implementation ("com.stripe:stripe-android:17.2.0")
implementation ("com.android.volley:volley:1.2.1")
- CocktailDB API: The app fetches cocktail data using the CocktailDB API. For more information, visit CocktailDB API.
If you would like to contribute to this project, feel free to fork the repository, make your changes, and create a pull request. Your contributions is much appreciated!