{"id":15750236,"url":"https://github.com/objarni/react-cad-experiment","last_synced_at":"2025-06-28T04:32:08.573Z","repository":{"id":156422636,"uuid":"632994377","full_name":"objarni/react-cad-experiment","owner":"objarni","description":"An experiment in following the Calculations-Data-Actions in a 2d drawing app","archived":false,"fork":false,"pushed_at":"2023-04-26T15:06:39.000Z","size":177,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T07:15:43.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/objarni.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":"2023-04-26T14:52:27.000Z","updated_at":"2023-04-26T15:00:05.000Z","dependencies_parsed_at":"2023-07-17T08:46:52.392Z","dependency_job_id":null,"html_url":"https://github.com/objarni/react-cad-experiment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/objarni/react-cad-experiment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Freact-cad-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Freact-cad-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Freact-cad-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Freact-cad-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/objarni","download_url":"https://codeload.github.com/objarni/react-cad-experiment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Freact-cad-experiment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262375810,"owners_count":23301341,"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":[],"created_at":"2024-10-04T06:22:47.720Z","updated_at":"2025-06-28T04:32:08.541Z","avatar_url":"https://github.com/objarni.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"567\" alt=\"image\" src=\"https://user-images.githubusercontent.com/68198/234618592-d6c2c460-f465-411c-aae3-173fa38302fc.png\"\u003e\n\n# React Calculations-Data-Actions Experiment\n\nThis little 2D drawing application is the result of some frustration with React and (unit) testing applications built in it.\n\nIt uses the ideas from the book \"Grokking Simplicity\" to extract all interesting behaviour / logic / business rules / pick-your-fancy-word into pure functions (called calculations in the book) which are called from 'shallow'/'skeletonal' actions in the UI code (the React code).\n\nIt's written in typescript.\n\nUse mouse left-clicks to draw rectangles on canvas!\n\n\n# setup app\n\n    npm install\n\n# run app\n\n    npm start\n\n\n# run tests\n\n    npm test\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjarni%2Freact-cad-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobjarni%2Freact-cad-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjarni%2Freact-cad-experiment/lists"}