Samin karkiinJavaScript in Plain EnglishLearning 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…Sep 5Sep 5
Samin karkiinJavaScript in Plain EnglishAccepting 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…May 1May 1
Samin karkiHow 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…Apr 6Apr 6
Samin karkiinJavaScript in Plain EnglishHow 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…Mar 211Mar 211
Samin karkiinJavaScript in Plain EnglishHow 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…Feb 25Feb 25
Samin karkiinJavaScript in Plain EnglishHow 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…Dec 30, 2023Dec 30, 2023
Samin karkiHow 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…Nov 25, 2023Nov 25, 2023
Samin karkiInstalling 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…Nov 3, 20231Nov 3, 20231
Samin karkiCreating dynamic modules in nestjsSo, nestjs has two types of modules, Static and Dynamic modules. Say for example, to create a user module and book module, I simply create…Sep 16, 20232Sep 16, 20232
Samin karkiHow I passed dynamic command line arguments to a file through a npm script in Windows and LinuxSo last time I was creating a nodejs file that needed to pass some command line arguments and I wrote the following lines in the file.Jul 31, 20231Jul 31, 20231