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…Sep 19, 20222Sep 19, 20222
PinnedLooi Yih FooMicroservice development on local part 1: Docker Compose(Looking for how to get Docker Compose logs? Check out Part 2)Aug 29, 2022Aug 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.Feb 19Feb 19
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/bullAug 28, 2023Aug 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)Aug 21, 2023Aug 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 =)Mar 13, 20231Mar 13, 20231
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…Oct 31, 2022Oct 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:Oct 11, 2022Oct 11, 2022
Looi Yih FooMicroservice development on local part 2: Getting container logs(Part 1 detailing how to run microservices on Docker Compose)Sep 2, 2022Sep 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…Dec 8, 2021Dec 8, 2021