{"id":18708998,"url":"https://github.com/baguilar6174/node-calcutator-app","last_synced_at":"2025-10-04T16:18:11.005Z","repository":{"id":212397685,"uuid":"731356155","full_name":"baguilar6174/node-calcutator-app","owner":"baguilar6174","description":"Node console App to create a simple multiplication table","archived":false,"fork":false,"pushed_at":"2024-03-27T22:34:03.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-28T07:42:04.857Z","etag":null,"topics":["clean-architecture","console-application","testing","typescript","yargs"],"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/baguilar6174.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":"2023-12-13T22:39:17.000Z","updated_at":"2023-12-15T21:08:58.000Z","dependencies_parsed_at":"2024-11-07T12:32:04.412Z","dependency_job_id":"3cbb87d3-239f-4365-b5b9-6e62ce73c037","html_url":"https://github.com/baguilar6174/node-calcutator-app","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"fb3db37d46524d6b0442b19f30aa8af0cd102516"},"previous_names":["baguilar6174/node-calcutator-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baguilar6174%2Fnode-calcutator-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baguilar6174%2Fnode-calcutator-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baguilar6174%2Fnode-calcutator-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baguilar6174%2Fnode-calcutator-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baguilar6174","download_url":"https://codeload.github.com/baguilar6174/node-calcutator-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239571580,"owners_count":19661165,"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":["clean-architecture","console-application","testing","typescript","yargs"],"created_at":"2024-11-07T12:25:56.288Z","updated_at":"2025-10-04T16:18:05.942Z","avatar_url":"https://github.com/baguilar6174.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Multiplication Console App\n\nThis repository contains a basic application that is executed by console, its objective is to create a multiplication table with arguments sent by command console. This repository uses clean architecture principles and unit tests.\n\n## Installation\n\nClone this repository\n\n```bash\ngit clone https://github.com/baguilar6174/node-calcutator-app.git\n```\n\nInstall dependencies\n\n```bash\nyarn\n```\n\n## Running the app\n\n1. Run `yarn dev` with this command you send:\n\n```bash\nnpx ts-node ./src/app.ts -b 10 -l 15\n```\n\n* You can update params command in `package.json` file or execute command with custom params\n\n```bash\nnpx ts-node ./src/app.ts -b 10 -l 15 -s -n filename -d destination\n```\n\n## My process\n\n### Built with\n\n- Node\n- Typescript\n- Nodemon\n- Yargs\n- Jest\n\n### What I learned\n\n- Create console apps\n- Console arguments\n- Flags and options\n- Yargs configuration\n- Use Cases \u0026 Use Case Testing\n- Testing on console commands\n- Dynamically change console arguments\n- Mocks \u0026 Spies\n- Testing when errors are expected\n- Integration testing\n- Testing with self-invoked anonymous asynchronous functions\n- Testing with yargs\n- Testing with file and directory creation\n\n## Development Features\n\n- Clean Architecture\n- Good folder structure\n- SOLID\n\n## Improves\n\n- Fix: test with dynamic imports\n\n## Stay in touch\n\n- Website - [www.bryan-aguilar.com](https://www.bryan-aguilar.com/)\n- Medium - [baguilar6174](https://baguilar6174.medium.com/)\n- LinkeIn - [baguilar6174](https://www.linkedin.com/in/baguilar6174)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaguilar6174%2Fnode-calcutator-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaguilar6174%2Fnode-calcutator-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaguilar6174%2Fnode-calcutator-app/lists"}