Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 1.96 KB

README.md

File metadata and controls

72 lines (52 loc) · 1.96 KB

Design Patterns in Typescript 🎯

Implementation of all 23 GoF (Gang of Four) Design Patterns in TypeScript.

Summary 🔍️

✔️ Creational

✔️ Structural

✔️ Behavioural

Pre-requisites 🔧

# You may install Node.js & npm in case you don't have them your system
# You may also install Typescript in case you don't have on your system
~ npm install -g typescript

Usage 📋

# Install dependencies
~ git clone https://github.com/oussamabouchikhi/design-patterns-in-typescript.git

# cd into the project directory
~ cd clone design-patterns-in-typescript

# Install dependencies
~ yarn install

# in 2 separate tabs

# Run this command to compile typescript in watch mode
~ tsc -w

# Run the compiled javascript code
# ~ node path
~ node ./dist/creational/facade/client.js

License 📄

This project is open-sourced under the MIT license.