{"id":18614743,"url":"https://github.com/andrewjbateman/angular-firebase-access","last_synced_at":"2026-04-18T02:04:28.964Z","repository":{"id":50089286,"uuid":"338671250","full_name":"AndrewJBateman/angular-firebase-access","owner":"AndrewJBateman","description":":clipboard: Angular with Firebase backend for CRUD operations on blog posts","archived":false,"fork":false,"pushed_at":"2024-05-09T16:16:11.000Z","size":5207,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T01:12:27.509Z","etag":null,"topics":["angular","angular-material","angular17","firebase","firebase-auth","firebase-database","firebase-functions","firebase9","html5","rxjs","rxjs7","scss"],"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-13T21:15:24.000Z","updated_at":"2024-05-11T09:58:49.000Z","dependencies_parsed_at":"2024-04-28T20:29:39.454Z","dependency_job_id":"9cb5e454-d243-490a-b557-6e6b5f39876e","html_url":"https://github.com/AndrewJBateman/angular-firebase-access","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/angular-firebase-access","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-firebase-access","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-firebase-access/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-firebase-access/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-firebase-access/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-firebase-access/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-firebase-access/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","angular-material","angular17","firebase","firebase-auth","firebase-database","firebase-functions","firebase9","html5","rxjs","rxjs7","scss"],"created_at":"2024-11-07T03:26:46.278Z","updated_at":"2026-04-18T02:04:28.947Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Angular Firebase Access\n\n* Angular app using Firebase tools to access a Google Cloud Firestore\n* With a Google login or other auth setup it is possible to Create, Read, Update and Delete blog posts.\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/angular-firebase-access?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-firebase-access?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-firebase-access?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-firebase-access?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular Firebase Access](#zap-angular-firebase-access)\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* Allows access to create, read, update \u0026 delete Firebase posts\n\n## :camera: Screenshots\n\n* ![Example screenshot](./img/posts.jpg)\n\n## :signal_strength: Technologies\n\n* [Angular v16](https://angular.io/)\n* [Firebase v9](https://firebase.google.com) Cloud storage and authentication. Do not update to v10.\n* [Firebase Tools v9](https://www.npmjs.com/package/firebase-tools) CLI used to manage a Firebase project\n* [Angular/fire v7](https://www.npmjs.com/package/@angular/fire) Angular library for Firebase\n* [RxJS v7](https://rxjs.dev/api) Reactive Extensions Library for JavaScript\n\n## :floppy_disk: Setup\n\n* Install dependencies using `npm i`\n* Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n* Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n* Run `ng update` to update Angular\n\n## :computer: Code Examples\n\n* functions from `post.service.ts` to get all posts and a selected post.\n\n```typescript\ngetPosts = async (): Promise\u003cany\u003e =\u003e {\n    let postsArray = [];\n    const postCollectionRef = collection(db, \"posts\");\n    const querySnapshot = await getDocs(query(postCollectionRef));\n    querySnapshot.forEach(doc =\u003e {\n      alert;\n      postsArray.push({ id: doc.id, ...doc.data() });\n      postsArray.sort((a, b) =\u003e b.published - a.published);\n    });\n    return postsArray;\n  };\n\n  showFullPost = (post: Post): void =\u003e {\n    this.currentPost = post;\n    this.router.navigate([\"/post-detail\"]);\n  };\n  \n```\n\n## :cool: Features\n\n* HTML template uses the [Angular async pipe](https://angular.io/api/common/AsyncPipe) to subscribe to the posts Observable and to unsubscribe automatically in the onDestroy lifecycle, avoiding memory leaks.\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working\n* To-Do: Add tabs for posts categories\n\n## :clap: Inspiration\n\n* [Blog post images from Unsplash](https://unsplash.com/) - only key words used now\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%2Fangular-firebase-access","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-firebase-access","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-firebase-access/lists"}