{"id":18615037,"url":"https://github.com/andrewjbateman/angular-tutorial-app","last_synced_at":"2026-04-20T03:02:14.064Z","repository":{"id":40668698,"uuid":"168728480","full_name":"AndrewJBateman/angular-tutorial-app","owner":"AndrewJBateman","description":":clipboard: Simple app to display a list of servers and indicate whether the server is on or offline. Created as part of Udemy Angular course.","archived":false,"fork":false,"pushed_at":"2023-02-04T06:49:57.000Z","size":4241,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T01:34:32.062Z","etag":null,"topics":["angular","angular-tutorial","angular13","bootstrap4","css","forms","html5","tutorial-code"],"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-02-01T16:40:56.000Z","updated_at":"2022-02-15T21:13:32.000Z","dependencies_parsed_at":"2023-02-18T14:31:17.441Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/angular-tutorial-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/angular-tutorial-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tutorial-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tutorial-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tutorial-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tutorial-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-tutorial-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tutorial-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32031070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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-tutorial","angular13","bootstrap4","css","forms","html5","tutorial-code"],"created_at":"2024-11-07T03:27:55.397Z","updated_at":"2026-04-20T03:02:14.035Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Angular Tutorial App\n\n* A simple Angular app to display a list of servers and indicate whether the server is on or offline.\n* Server names can be added to the list.\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-tutorial-app?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-tutorial-app?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-tutorial-app?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-tutorial-app?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular Tutorial App](#zap-angular-tutorial-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* This course project is to help learn about basic Angular concepts, including using components, data \u0026 property binding, the formsmodule etc.\n\n## :camera: Screenshots\n\n![Example screenshot](./img/server-name-and-status.png).\n\n## :signal_strength: Technologies\n\n* [Angular v13](https://angular.io/)\n* [RxJS Library v6](https://angular.io/guide/rx-library) used to handle datastreams and propagation of change using observables.\n* [Angular Augury Chrome Extension](https://chrome.google.com/webstore/detail/augury/elgalmkoelokbchhkhacckoklkejnhcd) v1.23.0 used for debugging.\n\n## :floppy_disk: Setup\n\n* Install dependencies by running `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\n## :computer: Code Examples\n\n* _server component with functions used to generate html template data._\n\n```typescript\nimport { Component } from '@angular/core';\n\n@Component({\n  selector: 'app-server',\n  templateUrl: './server.component.html',\n  styles: [`\n    .online {\n      color: white;\n    }\n  `]\n})\nexport class ServerComponent {\n  serverId = 10;\n  serverStatus = 'offline';\n\n  // use a random number generator function to get a random status of on or offline\n  constructor() {\n  this.serverStatus = Math.random() \u003e 0.5 ? 'online' : 'offline';\n  }\n\n  // function to return the random server status\n  getServerStatus() {\n    return this.serverStatus;\n  }\n\n  // function to show online status with a green background and offline with red.\n  getColor() {\n    return this.serverStatus === 'online' ? 'green' : 'red';\n  }\n}\n```\n\n## :cool: Features\n\n* Server names can be added via a form-control input field.\n* The background color of each server in the list changes depending on the online status of the server.\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working.\n* To-Do: Nothing\n\n## :clap: Inspiration\n\n* All code is from [Maximilian Schwarzmüller's Angular course](https://www.udemy.com/the-complete-guide-to-angular-2/learn/v4/overview) - now 2022 edition\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-tutorial-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-tutorial-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-tutorial-app/lists"}