Giter Club home page Giter Club logo

cook-central's Introduction

Build Project

Cook-Central

Cook Central is my capstone project in the Android Developer Nanodegree Program by Udacity. It is an app that helps food lovers (and anyone really) to discover food recipes, save their favourite recipes, and search for recipes based on the ingredients they have.

Prerequisite

minSdkVersion -> 19

Gradle build system

This project uses firebase for analytics. You do not need to create any project on your end unless you want to see the analytics of the app. Otherwise, everything is included here. The project also includes the necessary files for signing it.

TOC

Architecture

The presentation layer handles the UI work with the logic contained in the ViewModel. The UI uses LiveData objects from the ViewModel and observes it using the Observer Pattern. A ListAdapter handles the actual displaying of the news. Data over the network is retrieved using retrofit and RxJava to handle background work asynchronously. The data layer uses the recommended Repository Pattern to make the network calls and store the data using Room DB. This layer is also responsible for mapping the entities that eventually get displayed in the UI.

Flow

Main Recipe Screen

This screen is visible to the user once the app is launched and immediately shows a list of random recipes. Once clicked, the user is taken to the details screen where they have the option of marking a recipe as favourite or not.

Search and Favourites Screen

These two screens are accessible via the BottomNavigationView.

Libraries

This app takes use of the following libraries:

  • Jetpack๐Ÿš€
    • Viewmodel - Manage UI data to survive configuration changes and is lifecycle-aware
    • Data Binding - Declaratively bind observable data to UI elements
    • Navigation - Handle everything needed for in-app navigation
    • WorkManager - Manage your Android background jobs
    • Room DB - Fluent SQLite database access
    • LiveData - Notify views when underlying database changes
    • Retrofit - type safe http client with RxJava support
    • Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
    • RxJava2 - A library for composing asynchronous and event-based programs using observable sequences for the Java VM.
    • Koin - A pragmatic lightweight dependency injection framework for Kotlin developers
    • Material Design - build awesome beautiful UIs.๐Ÿ”ฅ๐Ÿ”ฅ
    • Firebase - Backend As A Service for faster mobile development.
    • Crashylitics - Provide Realtime crash reports from users end.
    • Like Button - Twitter-like heart animation for Android
    • Glide - An image loading and caching library for Android focused on smooth scrolling

License

  Copyright 2020 Ferdinand Bada

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

cook-central's People

Contributors

fbada006 avatar

Watchers

 avatar  avatar

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.