Tirtha's Blogs

Organizing your react components

Why you should organize your react code

Read the full blog...
react
react-pattern
component
container
2024-03-22

Green Code: Reducing your websites' carbon footprint

Quantifying and reducing your web application's carbon emissions

Read the full blog...
web-performance
sustainable-dev
sustainable-web
sustainability
2022-10-22

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.
Read the full blog...
aws
aws-cdk
fargate
nextJS
aws-ecs
2022-04-08

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...
ionic
mobile-app-dev
hybrid mobile-app
opinions
2022-01-13

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...
create-react-app
devops
A/B testing
2021-11-17

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.

Read the full blog...
react
micro-frontends
devops
ui-architecture
2021-08-03

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
micro-services
functional-programming
2021-06-29

Express Middlewares & Higher Order Functions

Rediscovering ExpressJS Applications

Creating Express Middlewares with Higher Order Functions.

Read the full blog...
express
micro-services
functional-programming
middlewares
2021-06-28

Express routes with Builder pattern

Rediscovering ExpressJS Applications

Little OOPS Design Pattern goes a long way

Read the full blog...
express
micro-services
router
pattern
2021-06-26

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...
express
micro-services
router
functional-programming
2021-06-24

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...
express
micro-services
docker
aws-ecs
2020-11-24

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...
express
micro-services
docker
docker-compose
2020-09-21

Routing requests to containers with nginx

Docker and Express

proxy and reverse-proxy with nginx between multiple containers.

Read the full blog...
express
micro-services
docker
nginx
reverse-proxy
2020-09-09

Setting environment variables to your container

Docker and Express

Setting runtime properties securely to your container image before deployment

Read the full blog...
express
micro-services
docker
security
devops
2020-09-05

Load Balancing Containers

Docker and Express

Using nginx to load balance between multiple container instances

Read the full blog...
express
micro-services
docker
nginx
load-balancer
2020-08-06

Load Balancing Containers

Docker and Express

Running express app in docker

Read the full blog...
express
micro-services
docker
2020-08-06