{"id":18614970,"url":"https://github.com/andrewjbateman/ionic-angular-todo-app","last_synced_at":"2025-04-11T00:31:00.836Z","repository":{"id":38638330,"uuid":"173791595","full_name":"AndrewJBateman/ionic-angular-todo-app","owner":"AndrewJBateman","description":":clipboard: App created using the Ionic framework, using a firebase cloud database to store to-do data. All CRUD operations can be carried out using the Ionic UI.","archived":false,"fork":false,"pushed_at":"2023-02-04T06:16:14.000Z","size":2005,"stargazers_count":6,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T06:51:15.543Z","etag":null,"topics":["angular","angular15","firebase","firebase-cloud-database","firestore","firestore-database","html5","ionic","ionic-framework","ionic6","scss","typescript4"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.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}},"created_at":"2019-03-04T17:36:57.000Z","updated_at":"2024-12-26T08:26:47.000Z","dependencies_parsed_at":"2023-02-18T14:16:21.262Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/ionic-angular-todo-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-todo-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-todo-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-todo-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-todo-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/ionic-angular-todo-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322234,"owners_count":21084333,"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","angular15","firebase","firebase-cloud-database","firestore","firestore-database","html5","ionic","ionic-framework","ionic6","scss","typescript4"],"created_at":"2024-11-07T03:27:39.610Z","updated_at":"2025-04-11T00:30:57.365Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Ionic Todo App\n\n* App created using the [Ionic framework](https://ionicframework.com/docs), using a firebase cloud database to store to-do data.\n* All CRUD operations can be carried out using the Ionic UI.\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/ionic-angular-todo-app?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/ionic-angular-todo-app?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/ionic-angular-todo-app?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/ionic-angular-todo-app?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Ionic Todo App](#zap-ionic-todo-app)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \u0026 To-do list](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* Note: Angular imports for Firestore are now from '@angular/fire/compat/firestore'.\n* Todos are passed to/from the firestore database as [observables](https://angular.io/guide/observables).\n* Todos are now sorted by priority using `this.todosCollection = db.collection\u003cTodo\u003e(\"todos\", ref =\u003e ref.orderBy(\"priority\"));` in `todo.service.ts`\n\n## :camera: Screenshots\n\n![todo items shown on ionic frontend and Firestore database](./imgs/todo_items.png)\n![todo items shown on ionic frontend and Firestore database](./imgs/todos.png)\n\n## :signal_strength: Technologies\n\n* [Ionic/angular v6](https://ionicframework.com/)\n* [Ionic v6](https://ionicframework.com/)\n* [Angular v15](https://angular.io/)\n* [Firebase cloudstore v9](https://firebase.google.com/)\n\n## :floppy_disk: Setup\n\n* `npm i` to install dependencies\n* Add firebase access credentials in `environment.ts`\n* To start the server on _localhost://8100_ type: 'ionic serve'\n* `npm run build` to create build artifacts in `www` folder\n\n## :computer: Code Examples\n\n* It was necessary to clear the setting for the firestore timestampsInSnapshots \u0026 add `merge: true` in `app.module.ts` to avoid errors - see below.\n\n```typescript\nimport { AngularFirestoreModule, FirestoreSettingsToken } from '@angular/fire/firestore';\n@NgModule({\n  declarations: [AppComponent],\n  imports: [\n     ...\n     AngularFirestoreModule,\n     ...\n  ],\n  providers: [{ provide: FirestoreSettingsToken, useValue: { timestampsInSnapshot: true, merge: true } }],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n## :cool: Features\n\n**CRUD operations:**\n\n* Create: Click '+' to create a to-do item.\n* Read: Line items are displayed on the home page.\n* Update: Click on item line to edit.\n* Delete: swipe left and a coloured 'DONE' button appears on the right.\n\n## :clipboard: Status \u0026 To-do list\n\n* Status: Working.\n* To-do: Add more detail/styling to front page. Add ESLint. Limit priority number to `1 to 10`\n\n## :clap: Inspiration\n\n* Project inspired by [Simon Grimm´s Youtube video 'How to Create a Simple Ionic 4 App with Firebase and AngularFire'](https://www.youtube.com/watch?v=H20l9ofyR54\u0026t=1375s)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-angular-todo-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fionic-angular-todo-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-angular-todo-app/lists"}