/recipes

An Android app built using Kotlin that queries the MealDB API

Primary LanguageKotlin

Your Internet CookBook

  • The app allows users to view recipes, and add them to a list of favorites for later use.
  • A swipe to delete option is enabled in the favorites screen

Architecture

  • MVVM - Model-View-ViewModel.
  • The application also follows the single activity architecture, with multiple fragments with their respective viewmodels, which in turn communicate with their respective repositories to fetch data.

Tech Stack

  • Tech-stack
    • Kotlin - a cross-platform, statically typed, general-purpose programming language with type inference.

    • Coroutines - perform background operations.

    • Glide - an image-loading library.

    • Retrofit - to make network calls.

    • Android KTX - Provide concise, idiomatic Kotlin to Jetpack and Android platform APIs.

    • AndroidX - Major improvement to the original Android Support Library, which is no longer maintained.

    • Jetpack🚀

      • Room - a persistence library that provides an abstraction layer over SQLite.
      • LiveData - is an observable data holder.
      • Lifecycle - perform action when lifecycle state changes.
      • ViewModel - store and manage UI-related data in a lifecycle conscious way.

Get started

  • Clone the repository
  • Wait for the IDE to download all dependencies.
  • Tinker with the application as you please.

Screenshots

Meal Categories Meals under categories Meal Details Search Favorites

Upcoming Features

  • Improving the UI
  • Firebase authentication.

Contacts