Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Design Patterns with real world examples in TypeScript, practical diagrams and unit tests ✅
| Date | Stars |
|---|---|
| 2026-07-24 | 319 |
| 2026-07-25 | 319 |
| 2026-07-28 | 319 |
| 2026-07-30 | 319 |
| 2026-08-06 | 319 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
 <div align="center"> # Real World Design Patterns Explore real-world scenarios and best practices for design patterns in this comprehensive repository. [](https://github.com/vahidvdn/realworld-design-patterns/actions/workflows/ci.yml) [](https://codecov.io/github/vahidvdn/realworld-design-patterns)   [](https://github.com/vahidvdn/realworld-design-patterns/compare)  </div> <hr /> Elevate your software design skills with practical examples and insightful discussions. This workspace has been generated by [Nx, Smart Monorepos · Fast CI](https://nx.dev). 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](./PREREQUISITES.md) of design patterns—after that, it'll be much easier to move forward. ### Patterns You can open each directory, for instance: ``` $ cd app/strategy-pattern ``` 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](https://github.com/vahidvdn/realworld-design-patterns/tree/master/app). ✅ ## How to Run In the root directory, run: ``` $ npm install ``` To run the design pattern: ``` $ npm run -w PATTERN_NAME start ``` For instance **PATTERN_NAME** can be strategy-pattern To run the bad practice: ``` $ npm run -w PATTERN_NAME start:bad ``` ## Run Tests In order to run tests, run the following command. (add `:watch` to run it in watch mode): ```sh $ npm run test $ npm run test:cov # test coverage $ npm run test:cov:open # open test coverage reports ``` ## Contributing Contributing to a community project is always welcome. List of contributors: | <img src="https://github.com/vahidvdn.png" style="border-radius: 100%" width="80"> <br> [Vahid Najafi](https://github.com/vahidvdn) | <img src="https://github.com/ElshadHu.png" style="border-radius: 100%" width="80"> <br> [Elshad Humbatli](https://github.com/ElshadHu) | <img src="https://github.com/Sabeerwaqas.png" style="border-radius: 100%" width="80"> <br> [Sabeer Waqas](https://github.com/Sabeerwaqas) | | :---------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: | ## Checkli
Excerpt of 4,966 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:57f3f5733e90e5f2, topic:testing