{"id":25120150,"url":"https://github.com/esraa-ragab7/planets","last_synced_at":"2025-04-02T14:20:35.154Z","repository":{"id":274553873,"uuid":"431618854","full_name":"Esraa-ragab7/Planets","owner":"Esraa-ragab7","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-24T22:09:00.000Z","size":946,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T05:21:08.550Z","etag":null,"topics":["clean","coredata","mvp","swift","unit-testing","universal-app"],"latest_commit_sha":null,"homepage":"","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/Esraa-ragab7.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":"2021-11-24T20:25:20.000Z","updated_at":"2022-02-22T13:06:33.000Z","dependencies_parsed_at":"2025-01-28T01:37:40.388Z","dependency_job_id":"cdc3ea25-af6d-468c-ac4a-105c90b683ee","html_url":"https://github.com/Esraa-ragab7/Planets","commit_stats":null,"previous_names":["esraa-ragab7/planets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esraa-ragab7%2FPlanets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esraa-ragab7%2FPlanets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esraa-ragab7%2FPlanets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esraa-ragab7%2FPlanets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Esraa-ragab7","download_url":"https://codeload.github.com/Esraa-ragab7/Planets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246828477,"owners_count":20840474,"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":["clean","coredata","mvp","swift","unit-testing","universal-app"],"created_at":"2025-02-08T05:19:44.758Z","updated_at":"2025-04-02T14:20:35.111Z","avatar_url":"https://github.com/Esraa-ragab7.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Planets\nPlanets is an application designed to analyze any recipe and get a detailed nutrition data about it.\n\n## Architecture pattern\n* MVP(Model View Presenter) + Clean Architecture concepts\n\n## Run Requirements\n* Minimum xcode version: Xcode 11\n* Swift 5\n\n## Installation \n* Clone this repo: \u003cbr/\u003e\n           `git clone https://github.com/Esraa-ragab7/Planets.git`\n* Open the terminal and navigate to the directory of project:  \u003cbr/\u003e\n           `cd Planets`\n* Run this command to open the project directory: \u003cbr/\u003e\n          `open .`\n* Open the workspace Planets.xcodeproj.\n* Now you can run the project.\n\n\n\n![alt text](https://user-images.githubusercontent.com/13772702/143316833-c2844a47-c6e1-4473-994f-c88480146485.png)\n\n\n\n\n## App Layers\n\n#### MVP Concepts\n##### Presentation Logic\n* `View` - handle user interaction events to the `Presenter` and displays data passed by the `Presenter`\n* `Presenter` - contains the presentation logic and tells the `View` what to present\n* `Configurator` - injects the dependency object graph into the scene (view controller)\n* `Router` - contains navigation / flow logic from one scene (view controller) to another\n\n#### Clean Architecture Concepts\n##### Application Logic\n\n* `UseCase / Interactor` - contains the application / business logic for a specific use case in your application\n* `Entity` - plain `Swift` classes / structs\n\n##### Gateways \u0026 Framework Logic\n\n* `Gateway` - contains actual implementation of the protocols defined in the `Application Logic` layer\n* `Persistence / API Entities` - contains framework specific representations\n* `Framework specific APIs` - contains implementations of `iOS` specific APIs such as sensors / bluetooth / camera\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesraa-ragab7%2Fplanets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesraa-ragab7%2Fplanets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesraa-ragab7%2Fplanets/lists"}