Samuel Olusola Software engineer (JS stack, GoLang incoming…) and student of computer science at the University of Lagos.

Stories by Samuel Olusola

Understanding The Dependency Inversion Principle In TypeScript

Understanding the dependency inversion principle in TypeScript

Dev

Implement the dependency inversion principle in TypeScript for maintainable, scalable code with dependency injection, abstraction layers, and practical examples.

Samuel Olusola
Oct 25, 2024 ⋅ 11 min read

How to use DataLoader with NestJS

Dev

Speed up data loading in your NestJS apps with DataLoader, a generic utility with an API that provides batching and caching functionality.

Samuel Olusola
Jul 19, 2022 ⋅ 8 min read

How to avoid circular dependencies in NestJS

Dev

Learn about the issues caused by circular dependencies in Nestjs, including how to avoid or work around them, in this complete guide.

Samuel Olusola
Jun 27, 2022 ⋅ 6 min read

Server-sent events vs. WebSockets

Dev

Understand the difference between server-sent events and WebSockets in order to decide which is best for your individual use case.

Samuel Olusola
Mar 30, 2022 ⋅ 3 min read

How to use EJS to template your Node.js application

Dev

Template your Node.js apps with EJS, a simple and powerful templating engine that generates HTML markup from JavaScript quickly and easily.

Samuel Olusola
Dec 24, 2021 ⋅ 9 min read