As a leader, we always try to make the best for our code base as well as the architecture. Because it’s our responsibility. However, the team members might be not aware of…
Balance between scalability and complexity
Hey guys. This is my perspective based on my engineering experience. I. Start small We start from a scratch, building a totally new project. At this milestone, we face many challenges. We…
AWS step function creates EKS Job
Firstly, why do we have to do this? I’m doing a function which allow users do download a lot of data to excel file. We have an existing backoffice server which handles…
Node.js Json Web Token
Sign and Verify There are several ways to save the JWT for later identify. In this article, I’d like to show you how to store JWT in cookie. We simply add cookie-based…
Angular Module
We have official document here so this is something we can understand and apply fast comparing with normal frontend way such as webpack, stimulus. PROPERTIES DETAILS declarations The components, directives, and pipes that belong to this…
How to auto clean Linux files in ubuntu server
I’ve recently developed a function that processes a lot of PDF files. It interacts with the files in AWS S3 bucket. So it needs to download them for processing locally. However, when…
Quick Note: configure domain for AWS application load balancer and SSL for AWS EKS ingress
We know that when we apply an ingress config, it will create AWS ALB with listener on target groups based on rules. We can basically do this with sample game 2048 at…
Deploy 2048 game to AWS EKS Fargate cluster
Hi everybody! I’ve recently explored to deploy microservices to aws cloud by using kubernetes which is AWS EKS – Amazon Elastic Kubernetes Service. I followed the instruction here. However, I encountered two…
Understanding library by interface and Generic Type in node.js
Look at the code below. We define a user schema by mongodb. So this shema we have email and password. When user signs up, the API returns the user object but we…
Node.js Error Handling
Let’s say we have an authentication service simply like below. This service is listening on port 3000 and having a route for signing up user account. Below is signup route. Now we…