Skip to content

LuisMaGit/jetpackcompose-calorie-tracker

Repository files navigation

Calorie Tracker

Simple Calorie Tracker Android App.

The application allows the user to track the calories of their meals based on their goals. To achieve this, once the app is installed, the user will be submitted to a simple form to find out the user's goals based on their physique. Once completed, the user can search and submit the food eaten at each meal and the app will calculate and display (with simple percentage graphs) the nutrients consumed.

Architecture

The app is build as a standard multi-modular clean architecture project:

Stack

  • Jetpack Compose/Compose View Model/Compose Navigation (ui)
  • Hilt-Dagger (di)
  • Ktor (network)
  • SqlDelight (db)
  • DataStore (preferences)
  • Kotlin serialization (json manipulation)
  • JUnit 4 (test)
  • Mockk (test)
  • Turbine (test)

Unit tests

Run the configuration in the picture bellow to run all the units tests in the app (full covarage in the View Models of Tracker feature)