{"id":26769929,"url":"https://github.com/bbuck/calc","last_synced_at":"2025-10-07T07:29:51.620Z","repository":{"id":137968110,"uuid":"42318061","full_name":"bbuck/calc","owner":"bbuck","description":null,"archived":false,"fork":false,"pushed_at":"2015-09-12T01:33:34.000Z","size":352,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T22:46:22.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bbuck.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}},"created_at":"2015-09-11T15:57:36.000Z","updated_at":"2015-11-24T18:52:21.000Z","dependencies_parsed_at":"2023-04-10T04:49:26.679Z","dependency_job_id":null,"html_url":"https://github.com/bbuck/calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbuck/calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbuck","download_url":"https://codeload.github.com/bbuck/calc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcalc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278739935,"owners_count":26037474,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":[],"created_at":"2025-03-28T22:46:24.676Z","updated_at":"2025-10-07T07:29:51.601Z","avatar_url":"https://github.com/bbuck.png","language":"JavaScript","readme":"# Stack\n\nThe backend stack was chosen semi-arbitrarily to simply serve files. I threw in\nexpress (overkill, kind of) to keep the work spent on this part short. Although\nearly commits may show I did a bit more work here before settling in after\nintegrating with webpack.\n\nI tested everything with Node 4.0.0, it doesn't use ES6 features on the backend\nso it should rely on it (and I removed the previously set requirement for Node\n4.0.0) but mileage may vary.\n\n**webpack** was used to compile and deliver ES6/JSX and Sass files in a single\ndeliverable.\n\n**babel** was used to power ES6/JSX --\u003e JS conversions.\n\n**sass** used as a CSS preprocessor for variables and some color functions.\n\n**react** used to drive component and UI creation (basic layout)\n\n### Setup\n\nClone this repo and CD into the directory\n\n```bash\ngit clone https://github.com/bbuck/calc 'bbuck_calc'\ncd bbuck_calc\n```\n\nInstall node, preferably v4.0.0. I recommend using `nvm`\n\n```bash\nnvm install 4.0.0\nnvm use 4.0.0\n```\n\nInstall dependencies\n\n```bash\nnpm install -d\n```\n\nInstall global components necessary\n\n```bash\nnpm install -g webpack bower\n```\n\nInstall front end dependencies\n\n```bash\nbower install\n```\n\nCompile the assets\n\n```bash\nwebpack\n```\n\nFinally you're ready to run the sever!\n\n```bash\nnode server.js\n# or\nnode .\n# or from outside the directory\nnode bbuck_calc\n```\n\nVisit [localhost](http://localhost:3000) in your browser and view the calculator.\nIt should appear like the following:\n\n![Sample image](https://github.com/bbuck/calc/raw/master/sample.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbuck%2Fcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbuck%2Fcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbuck%2Fcalc/lists"}