PinnedLooi Yih FooNestJS: Request and response logging with middlewareMuch of what can go wrong happens when request reaches an API. When it does, the response include the thrown error. Hence, logs of requests…4 min read·Sep 19, 2022--2--2
PinnedLooi Yih FooMicroservice development on local part 1: Docker Compose(Looking for how to get Docker Compose logs? Check out Part 2)6 min read·Aug 29, 2022----
Looi Yih FooLoans: Understanding the math behind flat vs amortized rateLet’s break down their monthly repayment and interest charged. Loan calculation tools at bottom of article.6 min read·Feb 19, 2024----
Looi Yih FooUnit and integration testing for @nestjs/bull in CI/CD pipelinesResolve common issues with getting unit and integration tests going in repos using @nestjs/bull4 min read·Aug 28, 2023----
Looi Yih FooNestJS: Make http requests using the @nestjs/axios package(Repo with Swagger for making test requests in browser: https://github.com/YFLooi/nestjs-axios-demo)2 min read·Aug 21, 2023----
Looi Yih FooAggregate and export data as JSON or CSV in Mongo Shell (mongosh)Fed up of copy-pasting the output of graphical MongoDB clients for data? Want to pre-process raw data before export? This one’s for you =)7 min read·Mar 13, 2023----
Looi Yih FooWorking with time in JavaScriptTime, a measure of the passing of moments. From recording date stamps to finding out how long a process takes, recording and measuring time…3 min read·Oct 31, 2022----
Looi Yih FooMethods for array and objects in JavaScriptJavascript has a vast library of methods for manipulating arrays and objects. Using them makes code more readable because:4 min read·Oct 11, 2022----
Looi Yih FooMicroservice development on local part 2: Getting container logs(Part 1 detailing how to run microservices on Docker Compose)8 min read·Sep 2, 2022----
Looi Yih FooMongoDB Compass: A no-code tool for data analystsMongoDB Compass is a Graphical Interface that allows direct interaction with a MongoDB Cluster hosted on Mongo Atlas. I’m gonna show the…8 min read·Dec 8, 2021----