{"id":25932577,"url":"https://github.com/those-otter-programs/functional_interface_bean_mapper","last_synced_at":"2025-03-04T00:38:22.635Z","repository":{"id":280365293,"uuid":"941737834","full_name":"Those-Otter-Programs/functional_interface_bean_mapper","owner":"Those-Otter-Programs","description":"Sampling the use of functional interfaces to create bean mappers.","archived":false,"fork":false,"pushed_at":"2025-03-03T01:52:52.000Z","size":451,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-03-03T02:26:20.779Z","etag":null,"topics":["functional-interfaces","functional-programming","h2-database","integration-tests","java-21","lombok","maven","spring-boot-3"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Those-Otter-Programs.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-03-03T00:48:32.000Z","updated_at":"2025-03-03T01:52:55.000Z","dependencies_parsed_at":"2025-03-03T02:36:40.815Z","dependency_job_id":null,"html_url":"https://github.com/Those-Otter-Programs/functional_interface_bean_mapper","commit_stats":null,"previous_names":["those-otter-programs/functional_interface_bean_mapper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Those-Otter-Programs%2Ffunctional_interface_bean_mapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Those-Otter-Programs%2Ffunctional_interface_bean_mapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Those-Otter-Programs%2Ffunctional_interface_bean_mapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Those-Otter-Programs%2Ffunctional_interface_bean_mapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Those-Otter-Programs","download_url":"https://codeload.github.com/Those-Otter-Programs/functional_interface_bean_mapper/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241763764,"owners_count":20016161,"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":["functional-interfaces","functional-programming","h2-database","integration-tests","java-21","lombok","maven","spring-boot-3"],"created_at":"2025-03-04T00:38:21.996Z","updated_at":"2025-03-04T00:38:22.621Z","avatar_url":"https://github.com/Those-Otter-Programs.png","language":"Java","readme":"# Functional Interface Bean Mapper\n\n[![Buid Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger)\n\n[Project repository](https://github.com/Those-Otter-Programs/functional_interface_bean_mapper)\n\n## Description:\nSampling the use of functional interfaces to create a bean mapper.\n\n## Features:\n\n- The project implements a mapper called [MemberMapper](https://github.com/Those-Otter-Programs/functional_interface_bean_mapper/blob/dev/src/main/java/com/thoseop/mapper/MemberMapper.java) which is a Functional Interface with two lambda expressions, one to map MemberEntity to MemberResponse and the other way for the second. The [MemberService](https://github.com/Those-Otter-Programs/functional_interface_bean_mapper/blob/dev/src/main/java/com/thoseop/service/MemberService.java) exemplifies how to make use of it.\n\n## Controllers\n\n- [MemberController](#membercontroller)\n\n---\n\n## H2:\n\n```bash\nhttp://localhost:8080/h2\n```\n## MemberController\n\nThis controller implements 2 actions:\n\n```bash\n [GET] /member{id}\n [GET] /members\n```\n\n***ROUTES:***\n\n**/member/{id}**\n\n```bash\n# JSON response:\ncurl -s -L -X GET 'http://localhost:8080/member/1' | jq\n\n```\n\n**/members** - paginated route\n\n```bash\n# JSON response:\ncurl -s -L -X GET 'http://localhost:8080/members?page=0\u0026size=8\u0026sort=asc' | jq\ncurl -s -L -X GET 'http://localhost:8080/members?page=0\u0026size=8' | jq\ncurl -s -L -X GET 'http://localhost:8080/members?page=0' | jq\ncurl -s -L -X GET 'http://localhost:8080/members' | jq\n\n```\n\n---\n\n## Author: James Mallon\n- [github](https://github.com/jamesmallon)\n- [linkedin](https://www.linkedin.com/in/roccojamesmallon/)\n\n## License\n[Apache 2.0](LICENSE)\n\n---\n\n![Have a good one](src/main/resources/imgs/chill_otter.jpg)\n\n---\n\u003e \"It's your reaction to adversity, not adversity itself that determines how your life's story will develop.\" – Dieter F. Uchtdorf.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthose-otter-programs%2Ffunctional_interface_bean_mapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthose-otter-programs%2Ffunctional_interface_bean_mapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthose-otter-programs%2Ffunctional_interface_bean_mapper/lists"}