{"id":25161111,"url":"https://github.com/tatilimongi/passchecker","last_synced_at":"2026-04-24T22:37:31.271Z","repository":{"id":276399704,"uuid":"929140910","full_name":"tatilimongi/PassChecker","owner":"tatilimongi","description":"A TypeScript-based password validation tool following Test-Driven Development (TDD) principles, tested with Jest","archived":false,"fork":false,"pushed_at":"2025-02-08T01:13:55.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T13:21:21.667Z","etag":null,"topics":["best-practices","jest","password-validation","software-testing","tdd","tdd-kata","testing","typescript","unit-testing"],"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/tatilimongi.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}},"created_at":"2025-02-07T22:05:45.000Z","updated_at":"2025-02-08T01:13:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc4eda95-1577-41c4-8969-28a8b3f88955","html_url":"https://github.com/tatilimongi/PassChecker","commit_stats":null,"previous_names":["tatilimongi/passchecker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tatilimongi/PassChecker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatilimongi%2FPassChecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatilimongi%2FPassChecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatilimongi%2FPassChecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatilimongi%2FPassChecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tatilimongi","download_url":"https://codeload.github.com/tatilimongi/PassChecker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tatilimongi%2FPassChecker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259802337,"owners_count":22913613,"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":["best-practices","jest","password-validation","software-testing","tdd","tdd-kata","testing","typescript","unit-testing"],"created_at":"2025-02-09T02:18:02.064Z","updated_at":"2026-04-24T22:37:31.229Z","avatar_url":"https://github.com/tatilimongi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Password Checker\n\n![GitHub repo size](https://img.shields.io/github/repo-size/tatilimongi/PassChecker)\n![License](https://img.shields.io/github/license/tatilimongi/PassChecker?style=flat-square)\n![Languages](https://img.shields.io/github/languages/top/tatilimongi/PassChecker)\n![Node Version](https://img.shields.io/node/v/jest)\n\n\n\n## Description\nThis project is a **Password Checker** implemented in **TypeScript**. It was developed as an exercise to practice **Test-Driven Development (TDD)** and **Jest** for unit testing.\n\n## Password Validation Rules\nA password is **invalid** if:\n- It has **less than 8 characters**.\n- It **does not contain an uppercase letter**.\n- It **does not contain a lowercase letter**.\n\n### Additional Requirement for Admin Passwords\n- An **admin password must also contain at least one number**.\n\n## Project Structure\n```\n├── src\n│   ├── app\n│   │   ├── PasswordChecker.ts   # Implementation of the password checker\n│   ├── test\n│   │   ├── PasswordChecker.test.ts  # Jest test cases\n├── node_modules/  # Dependencies (not included in the repository)\n├── coverage/  # Test coverage reports (generated by Jest)\n├── jest.config.ts  # Jest configuration\n├── package.json  # Project dependencies and scripts\n├── tsconfig.json  # TypeScript configuration\n├── LICENSE  # MIT License\n└── README.md  # Project documentation\n```\n\n## Installation and Setup\n### Prerequisites\nMake sure you have **Node.js** and **npm** installed on your machine.\n\n### Clone the Repository\n```sh\ngit clone https://github.com/tatilimongi/PassChecker.git\ncd PassChecker\n```\n\n### Install Dependencies\n```sh\nnpm install\n```\n\n## Running Tests\nThe project uses **Jest** for unit testing. To execute the tests, run:\n```sh\nnpm test\n```\n\n## Jest Configuration\nThe `jest.config.ts` file contains the following configuration:\n```typescript\nimport type {Config} from '@jest/types';\n\nconst config: Config.InitialOptions = {\n    preset: 'ts-jest',\n    testEnvironment: 'node',\n    verbose: true,\n    collectCoverage: true,\n    collectCoverageFrom: [\n        '\u003crootDir\u003e/src/app/**/*.ts'\n    ]\n};\n\nexport default config;\n```\n\n## License\nThis project is licensed under the **MIT License**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatilimongi%2Fpasschecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftatilimongi%2Fpasschecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatilimongi%2Fpasschecker/lists"}