Tirtha's Blogs
Express Middlewares & Higher Order Functions, part 2
Express Middlewares & Higher Order Functions
Express routes with Builder pattern
Routes in Express
Reusing Images: Publishing to a registry
Build images and run them with docker compose
Routing requests to containers with nginx
Setting environment variables to your container
Load Balancing Containers
Load Balancing Containers
Organizing your react components
Why you should organize your react code
Read the full blog...Green Code: Reducing your websites' carbon footprint
Quantifying and reducing your web application's carbon emissions
Read the full blog...2022 Guide to deploy nextJS containers on Fargate with CDK
I have a nextJS application. I want to containerize it. I want to push the container image to ECR.
I want to use CDK to
- create a VPC,
- create a ecr cluster,
- launch a load balanced fargate service,
- and deploy the container images there.
Why ionic isn't the right choice anymore
Highly opinionated views against ionic and Angular. Opinions are mostly out of personal experience.
Read the full blog...Beta releasing new features on your react application
Easy releasing beta versions of new features with your create-react-app based React single page application just by changing the deployment directory.
Read the full blog...Micro Frontends: not a silver bullet
Micro frontends are a great feat of engineering. If you were able to move your 3 year old React repository to module-federation based micro frontends, it is indeed a great achievement.
However, I feel there are a few situations, where micro frontends are not a perfect fit. Here's a completely imaginary story of an application's evolution.
Express Middlewares & Higher Order Functions, part 2
Rediscovering ExpressJS Applications
NodeJS Express applications using Async/Await with some Functional Programming concepts like pure functions, side effects etc. and obviously higher order functions.
Read the full blog...Express Middlewares & Higher Order Functions
Rediscovering ExpressJS Applications
Creating Express Middlewares with Higher Order Functions.
Read the full blog...Express routes with Builder pattern
Rediscovering ExpressJS Applications
Little OOPS Design Pattern goes a long way
Read the full blog...Routes in Express
Rediscovering ExpressJS Applications
Routes in Express: Can they be improved? May be with functional programming? May be with Dependency Injection?
It all started with a piece of code that I saw while reviewing an express based application. ... and it wasn't something new. I've seen applications like this since long back, almost all applications generated with express-generator.
Read the full blog...Reusing Images: Publishing to a registry
Docker and Express
We're going to learn how to reuse docker images. We often follow the principle of build once deploy anywhere and for that we need to maintain our images in a repository for later reuse.
Read the full blog...Build images and run them with docker compose
Docker and Express
Using docker-compose to build and run docker images of NodeJS Applications.
Read the full blog...Routing requests to containers with nginx
Docker and Express
proxy and reverse-proxy with nginx between multiple containers.
Read the full blog...Setting environment variables to your container
Docker and Express
Setting runtime properties securely to your container image before deployment
Read the full blog...Load Balancing Containers
Docker and Express
Using nginx to load balance between multiple container instances
Read the full blog...Load Balancing Containers
Docker and Express
Running express app in docker
Read the full blog...