Skip to content

bhuvnesh123/RecipeDiary

Repository files navigation

RecipeDiary

screen1

This sample project named RecipeDairy allows user to write recipes and save/read them to/from app's local database as your personalized recipe collection.Database is synchronized with Network(Firebase Firestore). This project is made of using all the latest technologies of Modern Android Development.

​Language- Kotlin

UI- Jetpack Compose

​Architecture - Model-View-Intent(MVI)

​Database- Room

​Async- Kotlin Flows and channels, Coroutines

​Dependency Injection-Hilt

​Network - Firebase Firestore

​Testing-Unit tests

​Etc- Jetpack Navigation, Gradle Dependency Management

Running this app:

1.To run this app you will need to create a firebase project and link it up with the project. https://firebase.google.com/docs/android/setup

2.Create Firebase Authentication user and replace the UserId generated in RecipeFirestoreServiceImpl file.

const val USER_ID = "XXXXXXXXXXXXXXXXXXXXXXXXXXX" // hardcoded for single user..replace with your firebase USER UID

Jetpack Compose Sample Code Snippets

https://androidlearnersite.wordpress.com/2021/08/03/jetpack-compose-1-0-0-sample-codes/

Jetpack Compose Complete app

This repository contains sample project for an extended app on PlayStore which can be downloaded at below link-

https://play.google.com/store/apps/details?id=com.bhuvnesh.diary

Credits:

1.https://codingwithmitch.com/

2.https://gist.github.com/bmc08gt/fca95db3bf9fcf255d76f03ec10ea3f9