{"id":25213094,"url":"https://github.com/jaredhalpern/fetch","last_synced_at":"2025-04-05T07:40:54.932Z","repository":{"id":270470848,"uuid":"910480513","full_name":"JaredHalpern/Fetch","owner":"JaredHalpern","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-13T00:47:38.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T15:18:51.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JaredHalpern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T11:46:05.000Z","updated_at":"2025-01-13T00:47:40.000Z","dependencies_parsed_at":"2024-12-31T12:28:25.313Z","dependency_job_id":"97761d30-410c-40b3-b33a-8a3636e0225e","html_url":"https://github.com/JaredHalpern/Fetch","commit_stats":null,"previous_names":["jaredhalpern/fetch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaredHalpern%2FFetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaredHalpern%2FFetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaredHalpern%2FFetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaredHalpern%2FFetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaredHalpern","download_url":"https://codeload.github.com/JaredHalpern/Fetch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305906,"owners_count":20917202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-10T15:18:53.650Z","updated_at":"2025-04-05T07:40:54.912Z","avatar_url":"https://github.com/JaredHalpern.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Steps to Run the App\n\n* No unusual steps other than ensuring the RecipeApp target is selected, building, and running.\n\n### Focus Areas: What specific areas of the project did you prioritize? Why did you choose to focus on these areas?\n\n* Caching - I built a LRU cache that also persists images to disk.\n\n* Generics - I emphasized generics to make components reusable and more easily testable. I was able to easily create mock objects and stub objects to use in the SwiftUI Previews as well as unit tests.\n\n* Networking - All network requests including API endpoint requests and image requests, are queued and cancellable.\n\n### Time Spent: Approximately how long did you spend working on this project? How did you allocate your time?\n\n* I honestly have no idea. I enjoyed the exercise and didn't keep track.\n\n### Trade-offs and Decisions: Did you make any significant trade-offs in your approach?\n\n* No significant trade-offs come to mind.\n\n### Weakest Part of the Project: What do you think is the weakest part of your project?\n\n* The UI is kind of simplistic but I wanted to focus on a good foundation and architecture that could be tested and scaled properly.\n\n### Additional Information: Is there anything else we should know? Feel free to share any insights or constraints you encountered.\n\n* It's a one-screen app. Add any more screens and I'd incorporate the Coordinator pattern.\n\n* I used the new @Observable macro available in iOS 17 which meant I didn't need to use @Published to observe data changes.\n\n- Assumptions: Swift 5.9+, iOS 17 (Use of @Observable macro)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredhalpern%2Ffetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredhalpern%2Ffetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredhalpern%2Ffetch/lists"}