From 65be02518e3d2c0cff9ef335437e3b5ae359aca3 Mon Sep 17 00:00:00 2001 From: "Jay Gilbert S. Garzon" Date: Sun, 8 May 2022 20:49:35 +0800 Subject: [PATCH] Create README.md --- README.md | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..83e3fc9 --- /dev/null +++ b/README.md @@ -0,0 +1,66 @@ +# cocktail-db +Every day is Kampai Day! Discover, Learn and be a Barista on your own! +## Screenshots + + + +## Download APK +[Click me!](https://github.com/Fangzsx/cocktail-db/raw/master/app/release/app-release.apk) + + +## Inspiration +Aside from theMealDB API that I used in my-fud-app, the same team have an api called theCocktailDB which inspires me to create an app with it. +One problem that I encountered with theMealDB API is the video url being null and I want to solve it. The solution that I have in mind is to use YoutubeAPI +and search a video related to it. + +## Features +1. Instructive- Each cocktail is provided by a list of ingredients and a video preparation guide +2. Recommendation- Generates a random cocktail +3. Popular Cocktail- Since I can't pay for the API, I only generate list of cocktail based on certain category (in this project, alcoholic) +4. Find cocktail by Ingredient- User can sort cocktail based on ingredient +5. Save a cocktail as Favorite- Cocktails can be saved locally, powered by ROOM database. +6. Search Cocktail- User can search cocktail by name. +7. Night Mode and Light Mode Supported +8. Supports Landscape and Portrait Orientation + + +## Project Experience, Problem and Solution +For this projects, I used theCocktailDB API, same team that created theMealDB which I used on my previous app. +I no longer face difficulty implementing MVVM and Room Database. +The problem that I faced is some videoURL/ID coming from theCocktailDB API are null. To solve this, I used YoutubeAPI. +I created a custom search query where I format as "$cocktail_name preparation guide" and select the first relevant video. +With this, I will always have a video for each of cocktail. + +## Tech Stack + + +## Run Locally +1. Open Android Studio +2. Click File -> New -> Project from Version Control +3. In the URL field, paste this: https://github.com/Fangzsx/cocktail-db.git +4. Set directory of the project +5. Click Clone + +## Libraries +I'd like to express my thanks to the following authors: + +Spikeysanju for Motion Toast 🤩🔥 + +PierfrancescoSoffritti for Android Youtube Player 💗💗 + +bitvale for LightProgress 😻💞 + +wajahatkarim3 for EasyFlipView 🥰❣️ + +coil-kt for Image Loading 💟💓 + +