Skip to content

This repository features examples and notes on various design patterns implemented in TypeScript. Each pattern includes an overview, implementation, and use cases. It's a valuable resource for learning and applying design patterns effectively. Contributions with additional examples and insights are welcome!

License

Notifications You must be signed in to change notification settings

bytewhisperer11/Design-Patterns

Repository files navigation

Design Patterns

This repository contains examples and notes for design patterns. It is aimed at helping developers understand, apply, and practice design patterns in real-world scenarios.


🚀 Features

  • Beginner-Friendly: Simple explanations for each pattern without unnecessary complexity.
  • Organized Structure: Patterns are categorized into Creational, Structural, and Behavioral groups.

📂 Repository Structure

design-patterns/
├── creational/
│   ├── singleton/
│   ├── factory/
|   ├── abstractfactory/
|   ├── prototype/
│   └── builder/
├── structural/
│   ├── adapter/
│   ├── bridge/
│   └── decorator/
└── behavioral/
    ├── strategy/
    ├── observer/
    └── state/

Each folder contains:

  • README.md: Explanation and use case for the pattern.

🎯 Goals

  • Learn: Deepen your understanding of design patterns.
  • Practice: Write in your prefered language following best practices.
  • Apply: Integrate patterns into your projects effectively.

🛠️ Getting Started

  1. Clone the repository:
    git clone /~https://github.com/bytewhisperer11/design-pattern
    cd design-pattern
  2. Navigate to a specific pattern folder to review the code and explanation.

📖 List of Patterns

Creational Patterns

  • Singleton
  • Factory
  • Builder

Structural Patterns

  • Adapter
  • Bridge
  • Decorator

Behavioral Patterns

  • Strategy
  • Observer
  • State

🤝 Contributing

Contributions are welcome!
If you have an idea for improvement or a new pattern to add, feel free to fork the repository and submit a pull request.


📜 License

This project is licensed under the MIT License.


📧 Contact

For questions or suggestions, feel free to reach out:
GitHub Profile


🚧 Work in Progress

This repository is a work in progress. New patterns, examples, and notes are being added every now and then.
Keep following to stay updated!

About

This repository features examples and notes on various design patterns implemented in TypeScript. Each pattern includes an overview, implementation, and use cases. It's a valuable resource for learning and applying design patterns effectively. Contributions with additional examples and insights are welcome!

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages