{"id":16105403,"url":"https://github.com/dinbtechit/sample-spring-boot-factory-pattern","last_synced_at":"2026-05-01T13:31:55.025Z","repository":{"id":107167299,"uuid":"444962101","full_name":"dinbtechit/sample-spring-boot-factory-pattern","owner":"dinbtechit","description":"An example implementation of factory/adaptor design pattern without if else or switch case block.","archived":false,"fork":false,"pushed_at":"2022-01-09T01:23:10.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T02:46:02.465Z","etag":null,"topics":["factory-pattern","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/dinbtechit.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":"2022-01-05T22:00:10.000Z","updated_at":"2022-01-09T01:23:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e27bc803-0c12-4c08-9749-b58f18289054","html_url":"https://github.com/dinbtechit/sample-spring-boot-factory-pattern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dinbtechit/sample-spring-boot-factory-pattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Fsample-spring-boot-factory-pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Fsample-spring-boot-factory-pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Fsample-spring-boot-factory-pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Fsample-spring-boot-factory-pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinbtechit","download_url":"https://codeload.github.com/dinbtechit/sample-spring-boot-factory-pattern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Fsample-spring-boot-factory-pattern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["factory-pattern","spring-boot"],"created_at":"2024-10-09T19:09:30.214Z","updated_at":"2026-05-01T13:31:55.006Z","avatar_url":"https://github.com/dinbtechit.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot - Factory/Adaptor Design Pattern\n\nAn example implementation of factory/adaptor design pattern without if else or switch case block.\n\n|      Shapes      |                             Implementation Flow                             |\n|:----------------:|:---------------------------------------------------------------------------:|\n| Pencil (Default) |                                                                             |\n|      Circle      |                                                                             |\n|    any shape     | Shapes -\u003e ShapeFactory -\u003e ShapeInterface -\u003e ShapeAdaptor -\u003e Rest Controller |\n|    Rectangle     |                                                                             |\n|     Diamond      |                                                                             |\n\n \n       \n# Test\n\n```bash\nmvn clean test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinbtechit%2Fsample-spring-boot-factory-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinbtechit%2Fsample-spring-boot-factory-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinbtechit%2Fsample-spring-boot-factory-pattern/lists"}