{"id":17018821,"url":"https://github.com/tkraak/coffeerun","last_synced_at":"2025-04-05T20:14:26.227Z","repository":{"id":40747914,"uuid":"97477062","full_name":"tkraak/coffeerun","owner":"tkraak","description":":coffee: CoffeeRun","archived":false,"fork":false,"pushed_at":"2023-03-06T00:07:40.000Z","size":709,"stargazers_count":1,"open_issues_count":8,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T19:09:21.761Z","etag":null,"topics":["ava","book","javascript","learn","modules","teach","test","unit-test","unit-testing"],"latest_commit_sha":null,"homepage":"https://tkraak.github.io/coffeerun","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/tkraak.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":"2017-07-17T13:05:47.000Z","updated_at":"2024-09-13T03:35:17.000Z","dependencies_parsed_at":"2023-02-06T14:16:48.805Z","dependency_job_id":null,"html_url":"https://github.com/tkraak/coffeerun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkraak%2Fcoffeerun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkraak%2Fcoffeerun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkraak%2Fcoffeerun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkraak%2Fcoffeerun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkraak","download_url":"https://codeload.github.com/tkraak/coffeerun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393573,"owners_count":20931813,"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":["ava","book","javascript","learn","modules","teach","test","unit-test","unit-testing"],"created_at":"2024-10-14T06:47:12.710Z","updated_at":"2025-04-05T20:14:26.200Z","avatar_url":"https://github.com/tkraak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoffeeRun\n\n[![Tests](https://github.com/tkraak/coffeerun/actions/workflows/ci.yml/badge.svg)](https://travis-ci.org/tkraak/coffeerun)\n[![Coverage](https://coveralls.io/repos/github/tkraak/coffeerun/badge.svg)](https://coveralls.io/github/tkraak/coffeerun)\n\nCoffeeRun is a small shopping-cart style application from the book [Front-end Web Development: The Big Nerd Ranch Guide](https://www.bignerdranch.com/books/front-end-web-development/) that manages coffee orders for a food truck.\n\nThe app introduces the JavaScript [module pattern](https://github.com/getify/You-Dont-Know-JS/blob/master/scope%20%26%20closures/ch5.md#modules), [constructor calls](https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch5.md#constructor-or-call) as well as the [prototype property](https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch5.md#class-functions) of JavaScript functions.\n\n## Learning \u0026 Teaching\n\nFor me personally, the application serves as a learning and teaching tool, which is the main reason for keeping complexity as low as possible (no build tools, transpilers, etc.)\n\n## Planned Enhancements\n\nThe original code as described in the book can be found [here](https://github.com/bignerdranch/nybblr-javascript-book-walkthrough/tree/master/coffeerun). I'm thinking of the following enhancements:\n\n- [x] pass either `window` or `exports`, which makes for easy module re-use in node\n- [x] write unit tests\n- [x] write end-to-end tests\n- [ ] remove jQuery dependency\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkraak%2Fcoffeerun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkraak%2Fcoffeerun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkraak%2Fcoffeerun/lists"}