Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 778 Bytes

README.md

File metadata and controls

50 lines (32 loc) · 778 Bytes

dpatterna

Design pattern are well-known solutions to recurring problems. This repo holds some of the classical introductory exercises for different design patterns

For ts/js files:

Install dependencies

yarn install

Running the test suite

Execute the tests with:

yarn test

Once you get a test passing, you can enable the next one by changing xit to it.

Running web app

yarn # install dependencies

yarn start # invoke development with webpack-dev-server

Execute a script as node + tsc

yarn ts-node <file_path>
# e.g. $yarn ts-node src/functional/closure/adjectifier.ts

For py files: (python version >= 3)

Just run with

python <file_path>

or

python3 <file_path>