Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
General info
First to run the app you need to provide a
.env
file with a fieldAPI_KEY
that represents yelp api key value, so that app can be able to make api requests.Architecture
To develop the i used an implementation of clean arch, that have 4 main layers:
Using this architecture we can achieve independency of the layers, being able to replace and add parts very easily if necessary, follow SOLID principles that helps to maintain a healthy codebase and be able to adapt and introduce new patterns since clean arch is an abstract guideline that the main goal is to be the best case for your application following certain guidelines.
Here is diagram of example:
Packages usage (new added)
Used for dependency injection
Used as a state management library to achieve responsible UIs and State control
Used to have access to device local storage
Provide comparison between objects
Working app
Screen.Recording.2024-09-15.at.12.38.51.mov
Improvements
Given more time i would definitely improve my implementation in certain aspects like: