Database (3)

Atomic Transactions & Rollbacks in MongoDB with Mongoose

Background Recently I was developing a backend service and I came across a problem where updating user information across multiple database collections when a purchase is made. This is a common pattern in real-world applications where a single business operation requires updating multiple data entities.

Continue reading...

Run MongoDb Using Docker & Persist Data

Background Docker is one of the most popular platform to create, run & deploy applications faster. It helps you to run things in isolation, you don't have to worry about the application environment / OS. You build it once & deploy it anywhere using docker.

Continue reading...

How to Run MySQL & phpMyAdmin Using Docker

Background Docker is one of the most popular platform to create, run & deploy applications faster. It helps you to run things in isolation, you don't have to worry about the application environment / OS. You build it once & deploy it anywhere using docker.

Continue reading...