From 9c4062caa171207b0eb551bd51142c75502a0218 Mon Sep 17 00:00:00 2001 From: Elena Conache Date: Mon, 26 Aug 2024 09:27:32 +0300 Subject: [PATCH] Update README * Update README architecture details. --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 37820f4..d9e2059 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,9 @@ logging, and Go Router for navigation. - **BLoC:** Handles all the business logic of the app and provides data to the UI. - **UI:** The user interface layer that consumes data from BLoC and displays it to the user. It reacts to changes in the data emitted by the BLoC. -- **Repository:** Acts as a single source of truth for fetching and storing data. It provides data - to BLoC classes, either from the initial JSON asset or from the ObjectBox database. +- **Repository:** Acts as an intermediary between the BLoC and the data sources. - **Datasource:** Responsible for fetching data, either from a JSON file (for initial loading) or from the ObjectBox database. - **Config:** Contains configuration for dependency injection and routes setup using Go Router. -- **Shared:** Contains utility classes that are used throughout the project, including logging ( - using Logger) and data manipulation helpers. +- **Shared:** Contains utility classes that are used throughout the project, including + logging (using Logger) and data manipulation helpers.