Design Patterns are solutions to ways to design applications which typically reinforces the ideas surrounding very popular programming principles such as Open-Closed principles and helping create applications and software that is scalable, adjustable, and modifiable for future modifications.
This repo is a collection of these patterns and a simplistic use case that highlights their usage along with some code that may assist with helping explain and understanding their purposes.
- Chain of Responsibility Pattern
- Command Pattern
- Iterator Pattern
- Mediator Pattern
- Memento Pattern
- Observer Pattern
- State Pattern
- Strategy Pattern
- Template Pattern
- Visitor Pattern
- Adapter Pattern
- Bridge Pattern
- Composite Pattern
- Decorator Pattern
- Facade Pattern
- Proxy Pattern
- Flyweight Pattern
Each Design Pattern folder will contain:
- Readme
- HTML, CSS, and TS files.
Readme will include detailed information on the pattern, files should be executable on a browser.
Install Dependencies
npm install
Build package
npm run build
Run server
npm start