Coder Social home page Coder Social logo

esther-moki / cocktail-lush-animations Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 637 KB

A simple cocktail app using android ,java, and the cocktailDbAPI to search for your favorite cocktails details including recipe and also the app is linked to firebase to store the users previously searched and saved cocktails.

License: MIT License

Java 100.00%

cocktail-lush-animations's Introduction

Cocktail Lush

The Cocktail Lush project happens to be a simple cocktail app written in java using android studio that allows you to search for recipes, images of specific cocktails, ingredients, filter by alcoholic, non alcoholic and more by fetching data from the Cocktails DB API,an API where one get data on alcohol & cocktails.When a cocktail is clicked a new fragment appears that gives the user the drink name, ingredients and directions on how to make the cocktail.The app is also linked to firebase to store the users previously searched and saved cocktails.

  • By Esther Moki
  • Date of current version:31/10/2021

Description

This project helps one when they are looking for any cocktail of which one just only knows the name, type, some ingredient or even an image in short any of the listed above, then one can surely find that cocktail here.

Setup/Installation Requirement

  • 1.Clone this repo to your android projects folder.

  • 2.Run ubuntu to install all the dependencies which include android studio.

  • 3.Open the project on your android studio.

  • 4.Lastly build the project on gradle then run the app.

  • 5.Use the cocktailDB API IN retrieving data about the cocktails.

  • 6.Use FirebaseUI for Android which is an open-source library for Android that allows you to quickly connect common UI elements to Firebase APIs.

  • 7.FirebaseUI is published as a collection of libraries separated by the Firebase API they target. Each FirebaseUI library has a transitive dependency on the appropriate Firebase SDK so there is no need to include those separately in your app.

  • 8.In your app/build.gradle file add a dependency on one of the FirebaseUI libraries.

      dependencies {
    
      // FirebaseUI for Firebase Realtime Database
      implementation 'com.firebaseui:firebase-ui-database:7.2.0'
      implementation 'com.firebaseui:firebase-ui-database:8.0.0'
      // FirebaseUI for Cloud Firestore
      implementation 'com.firebaseui:firebase-ui-firestore:7.2.0'
      implementation 'com.firebaseui:firebase-ui-firestore:8.0.0'
      // FirebaseUI for Firebase Auth
      implementation 'com.firebaseui:firebase-ui-auth:7.2.0'
      implementation 'com.firebaseui:firebase-ui-auth:8.0.0'
      // FirebaseUI for Cloud Storage
      implementation 'com.firebaseui:firebase-ui-storage:7.2.0'
      implementation 'com.firebaseui:firebase-ui-storage:8.0.0'
      }
    

If you're including the firebase-ui-auth dependency, there's a little more setup required.

After the project is synchronized, we're ready to start using Firebase functionality in our app.

Upgrading

If you are using an old version of FirebaseUI and upgrading, please see the appropriate migration guide:

     Upgrade from 7.2.0 to 8.x.x
     Upgrade from 6.4.0 to 7.x.x
     Upgrade from 5.1.0 to 6.x.x
     Upgrade from 4.3.2 to 5.x.x
     Upgrade from 3.3.1 to 4.x.x    
     Upgrade from 2.3.0 to 3.x.x
     Upgrade from 1.2.0 to 2.x.x

Dependencies

Compatibility with Firebase / Google Play Services libraries

FirebaseUI libraries have the following transitive dependencies on the Firebase SDK:

    //firebase-ui-auth
     |--- com.google.firebase:firebase-auth
     |--- com.google.android.gms:play-services-auth
    
    //firebase-ui-database
     |--- com.google.firebase:firebase-database
    
   // firebase-ui-firestore
     |--- com.google.firebase:firebase-firestore
    
   // firebase-ui-storage
     |--- com.google.firebase:firebase-storage

You can see the specific dependencies associated with each release on the Releases page.

Upgrading dependencies

If you would like to use a newer version of one of FirebaseUI's transitive dependencies, such as Firebase, Play services, or the Android support libraries, you need to add explicit implementation declarations in your build.gradle for all of FirebaseUI's dependencies at the version you want to use. Here are some examples listing all of the critical dependencies:

Auth

 implementation "com.google.firebase:firebase-auth:$X.Y.Z"
 implementation "com.google.android.gms:play-services-auth:$X.Y.Z"
 implementation "androidx.lifecycle:lifecycle-extensions:$X.Y.Z"
 implementation "androidx.browser:browser:$X.Y.Z"
 implementation "androidx.cardview:cardview:$X.Y.Z"
 implementation "androidx.constraintlayout:constraintlayout:$X.Y.Z"
 implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
 implementation "com.google.android.material:material:$X.Y.Z"

Firestore

 implementation "com.google.firebase:firebase-firestore:$X.Y.Z"
 implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
 implementation "androidx.recyclerview:recyclerview:$X.Y.Z"

Realtime Database

 implementation "com.google.firebase:firebase-database:$X.Y.Z"
 implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
 implementation "androidx.recyclerview:recyclerview:$X.Y.Z"

Storage

 implementation "com.google.firebase:firebase-storage:$X.Y.Z"
 implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"

Contributing

Installing locally

You can download FirebaseUI and install it locally by cloning this repository and running:

./gradlew :library:prepareArtifacts publishToMavenLocal

Known Bugs

There are no known bugs yet.

Technologies Used

Languages used include:

  • 1.Java
  • 2.Android-Studio
  • 3.FirebaseUI for Android

Build

Run build.gradle to build the project. The build artifacts will be stored in the build.gradle.

Support and Contact details

If you run into any issues or have questions, ideas,concerns or even want to make a contribution to the code,you can drop me an email on [email protected].

License

This document comes with MIT Licence . Find the License document attached to it to learn more about it.

  • Copyright (c) [2021] [Esther Moki]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.