{"id":22479079,"url":"https://github.com/rogermedico/design-pattern-strategy","last_synced_at":"2026-04-13T23:33:56.666Z","repository":{"id":149835860,"uuid":"330370535","full_name":"rogermedico/design-pattern-strategy","owner":"rogermedico","description":"Example of the design pattern strategy applied to the calculation the factorial of a given number.","archived":false,"fork":false,"pushed_at":"2021-01-21T12:09:09.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T18:24:08.199Z","etag":null,"topics":["angular","angular-material","bootstrap","design-patterns"],"latest_commit_sha":null,"homepage":"https://sleepy-kare-3d5f8a.netlify.app/","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/rogermedico.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-01-17T11:02:14.000Z","updated_at":"2021-01-21T13:15:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae075564-2c46-4d2a-949e-a09dd67c7e83","html_url":"https://github.com/rogermedico/design-pattern-strategy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rogermedico/design-pattern-strategy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermedico%2Fdesign-pattern-strategy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermedico%2Fdesign-pattern-strategy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermedico%2Fdesign-pattern-strategy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermedico%2Fdesign-pattern-strategy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogermedico","download_url":"https://codeload.github.com/rogermedico/design-pattern-strategy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermedico%2Fdesign-pattern-strategy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31775968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","bootstrap","design-patterns"],"created_at":"2024-12-06T15:12:51.354Z","updated_at":"2026-04-13T23:33:56.647Z","avatar_url":"https://github.com/rogermedico.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Design Pattern: Strategy\n\nThis project is an example of the [design pattern strategy](https://en.wikipedia.org/wiki/Strategy_pattern) applied to the calculation the factorial of a given number.\n\n\n## Requirements\n\n[Node.js](http://nodejs.org/) \u003e= 10.15.x\n\n\n## Getting started\n\nClone this repository with `git clone`, or download a .zip file using the top right green button.\n\nUsing the Terminal, navigate to the project folder and run `npm install`.\n\n\n## Features\n\n* Uses [Angular](https://angular.io/) as a JS framework.\n* Uses [Bootstrap](https://getbootstrap.com/) as a CSS framework.\n* NPM scripts for fast development and production build (see Commands below).\n\n\n### Commands\n\n| Command | Description |\n|---------|-------------|\n| `npm run start` | Runs a local web server for development and opens the browser to display it. Automatically compiles styles and scripts whenever a file in `src/` is changed, and live reloads the browser. This is what *must be run* on the development stage. |\n| `npm run build` | Compiles, minifies and optimizes the project. Use the `--prod` flag for a production build. These files are the ones that must be used to deploy on production. |\n\n\n## Live example\n\n[https://sleepy-kare-3d5f8a.netlify.app/](https://sleepy-kare-3d5f8a.netlify.app/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogermedico%2Fdesign-pattern-strategy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogermedico%2Fdesign-pattern-strategy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogermedico%2Fdesign-pattern-strategy/lists"}