{"repo":"vahidvdn/realworld-design-patterns","free":true,"listed":false,"github":"https://github.com/vahidvdn/realworld-design-patterns","clone":"git clone https://github.com/vahidvdn/realworld-design-patterns.git","description":"Design Patterns with real world examples in TypeScript, practical diagrams and unit tests ✅","language":"TypeScript","stars":321,"topics":["ci","clean-code","design-patterns","diagrams","nodejs","oop","oop-principles","principles","solid","testing"],"license":null,"category":"dev-tools","readme_excerpt":"Real World Design Patterns Explore real-world scenarios and best practices for design patterns in this comprehensive repository. Elevate your software design skills with practical examples and insightful discussions. This workspace has been generated by Nx, Smart Monorepos · Fast CI. For each design pattern, there is folder based on TypeScript . If you are comming from another programming language world, don't worry. They are not complicated. Also, tests are included for each pattern. Also you can see bad practices to understand use cases. How to Learn? 📖 Prerequisites First, go over the prerequisites of design patterns—after that, it'll be much easier to move forward. Patterns You can open each directory, for instance: There is a README file that you can review first. Structure of Readme Here is some steps in each README file: - 💡 Use Case: a short description about the specific problem that we want to solve. - ❌ Bad Practice: a typical solution that works but not in a proper way. - ✅ Good Practice: implementing the specified design pattern to solve the problem in a proper way. Diagram: There is also a diagram to represent the oveview of the design pattern to understand better. These are some examples : Observer Pattern Decorator Pattern Chain of Responsibility Pattern Strategy Pattern Open /app folder to see all design patterns. ✅ How to Run In the root directory, run: To run the design pattern: For instance PATTERN NAME can be strategy-pattern To run the bad practice: Ru","default_branch":null,"files":null,"tree":[],"storefront":"/r/vahidvdn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vahidvdn/realworld-design-patterns/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}