{"id":21817860,"url":"https://github.com/thawkin3/boundaries-demo","last_synced_at":"2026-05-18T03:34:10.737Z","repository":{"id":96052728,"uuid":"424730501","full_name":"thawkin3/boundaries-demo","owner":"thawkin3","description":"Demo of Clean Code Chapter 8: Boundaries","archived":false,"fork":false,"pushed_at":"2022-03-01T02:39:36.000Z","size":1017,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T01:03:05.750Z","etag":null,"topics":["clean-code","date-time","react","tutorial","workshop"],"latest_commit_sha":null,"homepage":"http://tylerhawkins.info/boundaries-demo/build/","language":"JavaScript","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/thawkin3.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":"2021-11-04T20:24:40.000Z","updated_at":"2022-03-01T02:38:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c2b3fb6-0111-48bd-8333-87c9ddcf2ad4","html_url":"https://github.com/thawkin3/boundaries-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thawkin3/boundaries-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thawkin3%2Fboundaries-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thawkin3%2Fboundaries-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thawkin3%2Fboundaries-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thawkin3%2Fboundaries-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thawkin3","download_url":"https://codeload.github.com/thawkin3/boundaries-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thawkin3%2Fboundaries-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33163756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["clean-code","date-time","react","tutorial","workshop"],"created_at":"2024-11-27T15:48:49.798Z","updated_at":"2026-05-18T03:34:10.715Z","avatar_url":"https://github.com/thawkin3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clean Code, Chapter 8: Boundaries\n\nThis project is meant to demonstrate some concepts from Chapter 8 of Clean Code. You can view the demo app here: http://tylerhawkins.info/boundaries-demo/build/\n\n## Key Concepts\n\n**Wrap third-party code in a thin layer of abstraction. This allows you to:**\n\n1. Create your own interface\n2. More easily mock the third-party library in your code\n3. Easily adapt to changes in the third-party library's API\n4. Swap out underlying libraries if you want to change libraries in the future\n\n**Write \"learning tests\" to document a third-party library. This allows you to:**\n\n1. Document how you intend to use the library\n2. Easily catch breaking changes in the library when you upgrade dependencies\n\n**Use mock data when the code you're integrating with doesn't exist yet. This allows you to:**\n\n1. Not be blocked if you're a frontend developer waiting on a backend developer to create the backend API\n\n## Running the App Locally\n\n1. `yarn install`\n2. `yarn start`\n3. Navigate to http://localhost:3000/ in your browser\n\n## Resources\n\n- Day.js format: https://day.js.org/docs/en/display/format\n- Day.js time from now: https://day.js.org/docs/en/display/from-now\n- Moment.js: https://momentjs.com/\n- date-fns: https://date-fns.org/\n- date-fns format: https://date-fns.org/v2.25.0/docs/format\n- date-fns time from now: https://date-fns.org/v2.25.0/docs/formatDistanceToNow\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthawkin3%2Fboundaries-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthawkin3%2Fboundaries-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthawkin3%2Fboundaries-demo/lists"}