milkowska / MealBay

0 stars 0 forks source link

Add adding recipes to database #34

Closed milkowska closed 1 year ago

milkowska commented 1 year ago

The user can input details on the CreateRecipeScreen, IngredientsScreen, and PreparationScreen. This information is temporarily stored using a data view model and Hilt. Afterward, the data is processed to create a Recipe object, which is then saved to the database in the recipes collection.

Image

Image

Image

Image

The recipe is added with auto generated ID:

Image

which can be viewed in the firebase firestore:

Image

Once the data is collected and saved, a screen that informs the user about success is displayed.