marcobrunodev / workshop-design-patterns

Lessons from my workshop about design patterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

workshop-design-patterns

npm version Build Status Coverage Status Code Climate Dependency Status

Lessons from my workshop about design patterns. The master branch has all design patterns with tests.

Installation

To install the project, just clone the repo and run npm install.

To start, there is some scripts like:

  • npm run dev  Executes two other tasks, watch:src and watch:test. This two tasks observes src and test folders and executes some scripts, like babel transpiler and mocha.
  • npm test Default task to run mocha tests and istanbul coverage analysis.

Design Patterns

Initially, there are 6 JavaScript Design Patterns on this repo (constructor has a variation, the prototype). The idea is to add all known JS design patterns.

Link to all patterns:

All patterns have a specific test on ./test folder using mocha.

About

Lessons from my workshop about design patterns

License:MIT License


Languages

Language:JavaScript 86.3%Language:HTML 13.7%