Skip to content

MCR-Digital/js-katas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Katas: Bean & Byte Coffee Shop

A progressive set of beginner-friendly katas for a 2.5 hour session.

The story builds from simple pricing logic to a tiny Express app with forms and a dynamic order board.

Quick start

  1. Install dependencies:
npm install
  1. Run all tests:
npm test
  1. Run one kata test file:
npm run test:kata -- katas/01-customer-greeting/solution.test.js

Kata order

  1. katas/01-customer-greeting
  2. katas/02-drink-pricing
  3. katas/03-order-subtotal
  4. katas/04-discount-rules
  5. katas/05-cli-order-summary
  6. katas/06-http-menu-routes
  7. katas/07-form-post-order
  8. katas/08-order-board-stretch

Teaching pattern

  • Run tests first (red)
  • Implement the TODO in solution.js (green)
  • Refactor if needed
  • Move to the next kata

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors