PinnedVahid NajafiImplement a Dependency Injection Container in TypeScript from ScratchIoC (also known as dependency injection container) from theory to implementation Mar 65Mar 65
Vahid NajafiGoogle Cloud Functions: Architecture, Run & Test Locally with NestJSIntroductionOct 15Oct 15
Vahid NajafiAdvanced Jest: Different Mocking for the Same Underlying FunctionsMocking is the most crucial part of testing. When you want to test a class (as unit test), you need to mock it’s dependencies, because you…Apr 172Apr 172
Vahid NajafiRest API Design: Implementing IdempotencyIn this article, we are going to figure out what idempotency is in terms of Rest APIs. Let’s say you have a platform that you are charging…Feb 29Feb 29
Vahid NajafiDI-Part 2: A Deep Dive into the Reflection API in JavascriptBefore talking about Reflection API in JavaScript, let’s review some general concepts to understand better.Feb 191Feb 191
Vahid NajafiNestjs MQTT microservice with Async Api docs and validationToday we are going to see how we document the message payloads in nestjs MQTT microservice application. On the other hand, we need to…Nov 23, 2023Nov 23, 2023
Vahid NajafiChain of Responsibility pattern in-depth with TypeScriptDefinitionSep 28, 2023Sep 28, 2023
Vahid NajafiUse ChatGPT to learn design patternsAre you frustrated learning design patterns? If yes, let’s see how to learn it in a fast and productive way with ChatGPT.Jul 11, 2023Jul 11, 2023
Vahid NajafiReact Native useEffect vs useFocusEffectToday we are going to review the difference between useEffect and useFocusEffect in React Native. Before knowing anything about the…May 10, 2023May 10, 2023