{"id":16461898,"url":"https://github.com/saleem-hadad/refactoring-lab","last_synced_at":"2025-03-23T10:33:47.009Z","repository":{"id":185836365,"uuid":"673750360","full_name":"saleem-hadad/refactoring-lab","owner":"saleem-hadad","description":"😶‍🌫️ A collection of codes with tests where you can practice improving them and submit better versions","archived":false,"fork":false,"pushed_at":"2023-08-07T09:53:49.000Z","size":135,"stargazers_count":6,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T11:09:49.118Z","etag":null,"topics":["code","coding","csharp","improve-skills","kata","nodejs","php","refactoring"],"latest_commit_sha":null,"homepage":"https://saleem.dev","language":"PHP","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/saleem-hadad.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}},"created_at":"2023-08-02T10:38:15.000Z","updated_at":"2023-08-07T09:52:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"69d8e115-3af5-4d57-9178-fc06563c31b9","html_url":"https://github.com/saleem-hadad/refactoring-lab","commit_stats":null,"previous_names":["saleem-hadad/refactoring-lab"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saleem-hadad%2Frefactoring-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saleem-hadad%2Frefactoring-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saleem-hadad%2Frefactoring-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saleem-hadad%2Frefactoring-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saleem-hadad","download_url":"https://codeload.github.com/saleem-hadad/refactoring-lab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221849552,"owners_count":16891488,"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":["code","coding","csharp","improve-skills","kata","nodejs","php","refactoring"],"created_at":"2024-10-11T11:09:48.668Z","updated_at":"2024-10-28T15:36:43.561Z","avatar_url":"https://github.com/saleem-hadad.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003cimg height=\"150\" src=\"./logo.png\" /\u003e\u003cbr\u003e RefactoringLab\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eA collection of codes with tests where you can practice improving them and submit better versions\u003c/b\u003e\u003c/br\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\nWelcome to RefactoringLab, a repository dedicated to improving coding skills through refactoring challenges. Here, you'll find a collection of poorly written code snippets accompanied by tests. Your task is to refactor the code to make it more efficient, readable, and maintainable while ensuring that the tests still pass.\n\n## Challenges\n\n- [php](./php)\n- - [sms-template-detector](./php/sms-template-detector)\n- [js/nodejs](./js)\n- - [object-to-json-object](./js/object-to-json-object)\n- c# (Coming soon)\n- go (Coming soon)\n\n## Getting Started\n\n1. Fork this repository and clone it.\n2. Choose a code snippet you'd like to work on for your fav. language.\n3. Refactor the code while making sure the tests in the \"tests\" directory still pass.\n4. If the tests pass and you're satisfied with your changes, submit a pull request.\n\nHappy refactoring!\n\n## Get $200 DigitalOcean Credit\n\n[![DigitalOcean Referral Badge](https://web-platforms.sfo2.cdn.digitaloceanspaces.com/WWW/Badge%201.svg)](https://www.digitalocean.com/?refcode=64aee93d49da\u0026utm_campaign=Referral_Invite\u0026utm_medium=Referral_Program\u0026utm_source=badge)\n\n## Contributions\n\nFeel free to submit pull requests, create issues, or spread the word.\n\n## 🔖 License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](https://github.com/saleem-hadad/finance/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaleem-hadad%2Frefactoring-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaleem-hadad%2Frefactoring-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaleem-hadad%2Frefactoring-lab/lists"}