Samin karki·Nov 25, 2024Chapter 1.0.0 — Running an Azure cloud function locallyThis one project I am working on needed to be built on Azure cloud function. For development purposes, I wanted to run the function app…
InJavaScript in Plain EnglishbySamin karki·Oct 23, 2024Learning React rendering and re-rendering to stop unnecessary renders.I have been working with Reactjs for quite some time. While I have written countless lines of code, I have felt I have not properly grasped…
InJavaScript in Plain EnglishbySamin karki·Sep 5, 2024Learning Typescript’s utility typesLately, I have been working with Typescript a lot. And I have really liked using types to define your variables. One of the most frequent…
InJavaScript in Plain EnglishbySamin karki·May 1, 2024Accepting the weird parts of JavaScriptOne fine day I was writing Typescript code, and I wrote a complex function that would concat two input values. It was after I ran into…
Samin karki·Apr 6, 2024How I created a CI/CD pipeline to deploy my NestJs application to Digital Ocean Droplet.I needed to deploy my NestJs backend to staging and production environments (because I have been writing a lot of articles on NestJs so why…
InJavaScript in Plain EnglishbySamin karki·Mar 21, 2024How I Implemented a Simple Server-Side Cache Logic in NestJS Using Redis and Nest Cache ManagerIn my pursuit of optimizing response times for requests and reducing server load, I came across caching. Caching is storing information…A response icon1A response icon1
InJavaScript in Plain EnglishbySamin karki·Feb 25, 2024How to Use Server Side Events with NestJS to Create a Simple Notification SystemI had to find a solution to an unusual predicament. Whenever I click a button, it should trigger my API, which in turn invokes 5 other APIs…A response icon1A response icon1
InJavaScript in Plain EnglishbySamin karki·Dec 30, 2023How to Use the Rest Operator and Spread OperatorHave you ever seen 3 dots(…) in a JavaScript code and wondered what it is? What would be its name? You did a lot of Google searches and…
Samin karki·Nov 25, 2023How I passed my HTTP request’s info to help create database action logs in Nestjs.It is relatively easy to go through the request-response cycle of Nestjs. From middlewares to controllers to services to entities and back…
Samin karki·Nov 3, 2023Installing and using Labelimg to annotate imagesEver since I heard about the YOLO object detection, I always wanted to create a mobile application to detect vehicle number plates in an…A response icon1A response icon1