Skip to content

tkraak/coffeerun

Repository files navigation

CoffeeRun

Tests Coverage

CoffeeRun is a small shopping-cart style application from the book Front-end Web Development: The Big Nerd Ranch Guide that manages coffee orders for a food truck.

The app introduces the JavaScript module pattern, constructor calls as well as the prototype property of JavaScript functions.

Learning & Teaching

For 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.)

Planned Enhancements

The original code as described in the book can be found here. I'm thinking of the following enhancements:

  • pass either window or exports, which makes for easy module re-use in node
  • write unit tests
  • write end-to-end tests
  • remove jQuery dependency