{"id":18614813,"url":"https://github.com/andrewjbateman/angular-material-notepad","last_synced_at":"2025-09-11T05:37:23.244Z","repository":{"id":52685993,"uuid":"359491132","full_name":"AndrewJBateman/angular-material-notepad","owner":"AndrewJBateman","description":":clipboard: Angular used with Material \u0026 Tailwind components to display and add notes in a table","archived":false,"fork":false,"pushed_at":"2023-05-25T08:33:56.000Z","size":1891,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T03:44:19.499Z","etag":null,"topics":["angular","angular-material16","angular16","css3","html5"],"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,"zenodo":null}},"created_at":"2021-04-19T14:35:13.000Z","updated_at":"2023-07-05T11:47:34.000Z","dependencies_parsed_at":"2024-11-07T03:41:04.550Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/angular-material-notepad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/angular-material-notepad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-material-notepad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-material-notepad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-material-notepad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-material-notepad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-material-notepad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-material-notepad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274583706,"owners_count":25311897,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"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-material16","angular16","css3","html5"],"created_at":"2024-11-07T03:27:05.795Z","updated_at":"2025-09-11T05:37:23.223Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Angular Material Notepad\n\n* Angular used with Material \u0026 Tailwind components to display and add notes in a table\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-tailwind-notepad?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-tailwind-notepad?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-tailwind-notepad?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-tailwind-notepad?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular Material Notepad](#zap-angular-material-notepad)\n  * [:page\\_facing\\_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:signal\\_strength: Technologies](#signal_strength-technologies)\n  * [:camera: Screenshots](#camera-screenshots)\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* Simple Angular Material form with error-checking.\n* Created notes are added to a Mat-Expansion Panel.\n* Refreshing display loses added data\n* Notes can be deleted (the edit button has no function linked to it so it does nothing)\n\n## :signal_strength: Technologies\n\n* [Angular framework v16](https://angular.io/)\n* [Angular Material v16](https://material.angular.io/)\n* [Angular Material Icons](https://material.io/resources/icons/?style=baseline)\n\n## :camera: Screenshots\n\n![Example screenshot](./imgs/list.png)\n\n## :floppy_disk: Setup\n\n* `npm i` to install dependencies\n* `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\n## :computer: Code Examples\n\n* `notes-service.ts` function to add note to existing notes array. Uses `??` nullish coalescing operator to create an id basd on the array length or use a fallback id of 1 (array empty)\n\n```typescript\n  addNote(title: string, description: string, body: string) {\n    const lastId: number = this.notes[this.notes.length - 1]?.id ?? 1;\n    const note: Note = {\n      id: lastId,\n      title: title,\n      description: description,\n      body: body,\n    };\n    this.notes.push(note);\n    this.notesUpdated.next([...this.notes]);\n  }\n```\n\n## :cool: Features\n\n* Material components, use of nullish coalescing operator\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working\n* To-Do: Add data store - database? navbar links. Replace deprecated flex-layout\n\n## :clap: Inspiration\n\n* [Angular Wiki: Double Question Marks(??) or Nullish coalescing Operator in Angular/Typescript](https://www.angularjswiki.com/angular/double-question-marks-or-nullish-coalescing-operator-in-angular-typescript/)\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-material-notepad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-material-notepad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-material-notepad/lists"}