{"id":18615082,"url":"https://github.com/andrewjbateman/angular-api-data","last_synced_at":"2026-04-09T21:36:35.104Z","repository":{"id":96857897,"uuid":"430332685","full_name":"AndrewJBateman/angular-api-data","owner":"AndrewJBateman","description":":clipboard: Angular app to display API data and add lines using a form","archived":false,"fork":false,"pushed_at":"2023-06-08T09:23:06.000Z","size":1259,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-27T02:45:26.674Z","etag":null,"topics":["angular","angular16","api-rest","bootstrap","bootstrap5","crud-api","crud-application","css","forms","rxjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/AndrewJBateman.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-21T10:16:53.000Z","updated_at":"2023-06-08T09:23:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"07ed4c56-aef7-4bba-818c-ea7812cbbf06","html_url":"https://github.com/AndrewJBateman/angular-api-data","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%2Fangular-api-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-api-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-api-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-api-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-api-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406495,"owners_count":19633025,"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","angular16","api-rest","bootstrap","bootstrap5","crud-api","crud-application","css","forms","rxjs"],"created_at":"2024-11-07T03:28:04.806Z","updated_at":"2025-11-03T03:30:34.458Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Angular API Data\n\n* Angular app to fetch API data and display it in a table using RxJS observables\n* Create, Read, Update \u0026 Delete (CRUD) operations can be carried out on a table of data fetched from [the JSONPlaceholder API](https://jsonplaceholder.typicode.com/guide/)\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-api-data?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-api-data?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-api-data?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-api-data?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular API Data](#zap-angular-api-data)\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  * [:wrench: Testing](#wrench-testing)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status, Testing \\\u0026 To-Do List](#clipboard-status-testing--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* Displays table of API data with CRUD actions using the [JSONPlaceholder API](https://jsonplaceholder.typicode.com/guide/)\n* Angular folder structure best practises followed with CRUD service and data pipe in their own folders.\n* Bootstrap form used with search filter\n\n## :camera: Screenshots\n\n![screenshot](./imgs/table.png)\n\n## :signal_strength: Technologies\n\n* [Angular v16](https://angular.io/) Javascript framework\n* [Bootstrap v5](https://getbootstrap.com/)\n* [RxJS v7](https://rxjs.dev/) Reactive Extensions Library for JavaScript\n* [JSONPlaceholder API](https://jsonplaceholder.typicode.com/guide/)\n\n## :floppy_disk: Setup\n\n* Install dependencies using `npm i`\n* Run `ng serve` for a dev server. Frontend will open at `http://localhost:4200/` - refreshes on code changes\n\n## :wrench: Testing\n\n* Run `ng test` to run Jasmine unit tests via [Karma](https://karma-runner.github.io)\n* Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## :computer: Code Examples\n\n* `data.service.ts` function to get data arry from API\n\n```typescript\n  getData(): Observable\u003cData[]\u003e {\n    return this.http.get(this.baseUrl).pipe(\n      map((response: any) =\u003e {\n        return response;\n      })\n    );\n  }\n```\n\n## :cool: Features\n\n* Can be connected to a backend database\n\n## :clipboard: Status, Testing \u0026 To-Do List\n\n* Status: Working but some erors\n* To-Do: Move add \u0026 edit data code to their own components with navigation, connect database. Remove [ngModel] and fix 2x filter errors that appear in localhost console. Add form types\n\n## :clap: Inspiration\n\n* [Tektutorialshub: Angular Folder Structure Best Practices](https://www.tektutorialshub.com/angular/angular-folder-structure-best-practices/)\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-api-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-api-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-api-data/lists"}