Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.18 KB

README.md

File metadata and controls

13 lines (10 loc) · 1.18 KB

Node DP

This repo contains useful examples of design patterns in node and notes to explain the reasoning behind them. So far there are examples of a blockchain, session based authentication, bearer authentication, creational and structural design patterns, and data streaming. There are also some smaller code snippets that I have found to be extremely useful in utils and some of the slightly more complicated JS topics in tricky-js. You can learn more about each of the subprojects in their respective readmes or within block comments in the code.

Contents

  • Auth - example implementations of bearer and basic auth
  • Streams - implementations of streams and stream pipelines in node
  • Creational Patterns - patterns used for the creation of objects
  • Structural Patterns - patterns used for controlling relationships between entities
  • Behavioral Patterns - patterns used for controlling semantics
  • Blockchain - a simple blockchain implementation
  • EventEmitters - a simple database using an event driven architecture and unindexed log structure storage