{"id":15098157,"url":"https://github.com/ionic-team/tutorial-photo-gallery-angular","last_synced_at":"2025-04-06T03:07:27.856Z","repository":{"id":41732786,"uuid":"221839693","full_name":"ionic-team/tutorial-photo-gallery-angular","owner":"ionic-team","description":"Photo Gallery Tutorial: Ionic Angular and Capacitor","archived":false,"fork":false,"pushed_at":"2024-07-09T04:28:12.000Z","size":2573,"stargazers_count":142,"open_issues_count":14,"forks_count":189,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-03-30T01:11:17.839Z","etag":null,"topics":["angular","capacitor","ionic","ionic-framework"],"latest_commit_sha":null,"homepage":"https://ionicframework.com/docs/angular/your-first-app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ionic-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-11-15T03:51:15.000Z","updated_at":"2025-02-09T10:08:36.000Z","dependencies_parsed_at":"2024-09-20T01:15:28.883Z","dependency_job_id":null,"html_url":"https://github.com/ionic-team/tutorial-photo-gallery-angular","commit_stats":{"total_commits":38,"total_committers":6,"mean_commits":6.333333333333333,"dds":"0.21052631578947367","last_synced_commit":"fc17b81eafe00155c45803a5a1aca839e67ba148"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Ftutorial-photo-gallery-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Ftutorial-photo-gallery-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Ftutorial-photo-gallery-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Ftutorial-photo-gallery-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionic-team","download_url":"https://codeload.github.com/ionic-team/tutorial-photo-gallery-angular/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427006,"owners_count":20937201,"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":["angular","capacitor","ionic","ionic-framework"],"created_at":"2024-09-25T16:44:04.646Z","updated_at":"2025-04-06T03:07:27.834Z","avatar_url":"https://github.com/ionic-team.png","language":"TypeScript","readme":"# Build Your First Ionic App: Photo Gallery (Ionic Angular and Capacitor)\n\nGet started with Ionic by building a photo gallery app that runs on iOS, Android, and the web - with just one codebase. This is the complete project referenced in the [\"Your First App: Angular\" guide](https://ionicframework.com/docs/angular/your-first-app). Follow along to create a complete CRUD (create-read-update-delete) experience.\n\nPowered by [Ionic Angular](https://ionicframework.com/docs/angular/overview) (web app) and [Capacitor](https://capacitor.ionicframework.com) (native app runtime).\n\n## How It Works\n\nAfter the user navigates to Tab 2 (Photos), they can tap/click on the camera button to open up the device's camera. After taking or selecting a photo, it's stored permanently into the device's filesystem. When the user reopens the app at a later time, the photo images are loaded from the filesystem and displayed again in the gallery. The user can tap on a photo to be presented with the option to remove the photo.\n\n## Feature Overview\n* App framework: [Angular](https://angular.io)\n* UI components: [Ionic Framework](https://ionicframework.com/docs/components)\n  * Camera button: [Floating Action Button (FAB)](https://ionicframework.com/docs/api/fab)\n  * Photo Gallery display: [Grid](https://ionicframework.com/docs/api/grid)\n  * Delete Photo dialog: [Action Sheet](https://ionicframework.com/docs/api/action-sheet) \n* Native runtime: [Capacitor](https://capacitor.ionicframework.com)\n  * Taking photos: [Camera API](https://capacitor.ionicframework.com/docs/apis/camera)\n  * Writing photo to the filesystem: [Filesystem API](https://capacitor.ionicframework.com/docs/apis/filesystem)\n  * Storing photo gallery metadata: [Preferences API](https://capacitor.ionicframework.com/docs/apis/preferences)\n\n## Project Structure\n* Tab2 (Photos) (`src/app/tab2/`): Photo Gallery UI and basic logic.\n* PhotoService (`src/app/services/photo.service.ts`): Logic encapsulating Capacitor APIs, including Camera, Filesystem, and Preferences.\n\n## How to Run\n\n\u003e Note: It's highly recommended to follow along with the [tutorial guide](https://ionicframework.com/docs/angular/your-first-app), which goes into more depth, but this is the fastest way to run the app. \n\n0) Install Ionic if needed: `npm install -g @ionic/cli`.\n1) Clone this repository.\n2) In a terminal, change directory into the repo: `cd photo-gallery-capacitor-ng`.\n3) Install all packages: `npm install`.\n4) Run on the web: `ionic serve`.\n5) Run on iOS or Android: See [here](https://ionicframework.com/docs/building/running).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Ftutorial-photo-gallery-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionic-team%2Ftutorial-photo-gallery-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Ftutorial-photo-gallery-angular/lists"}