MongoDB Backup and Restore a MongoDB database In this post, we will see how to export and import a collection in a MongoDB database into JSON and CSV format and also back up and restore the whole database.
Prisma Handle Database data integrity with the Prisma ORM In this post, we will see how to use Prisma ORM to handle database integrity for databases that don't support foreign keys constraints, such as MySQL Serverless database (PlanetScale) and MongoDB
Node.js Caching data in Node.js application with Redis In this post, we will see how to use Redis to cache data retrieved from a MySQL database through a Node.js Application. We will also see how to invalidate the cached data.
Prisma Handle a Many-to-Many relationship with Prisma and Node.js In this post, we will see how to create a many-to-many relationship with the Prisma schema and then, create, retrieve and delete data from the database.
Spring Boot Data Caching in a Spring Boot application with Redis In this post, we will see how to use Redis to cache data retrieved from a MySQL database through a Spring Boot Application. We will also see how to invalidate the cached data.
Node.js Connect a Node.js application with MongoDB using Prisma In this post, we will see how to use Prisma to define the Schema of our Mongo database and then perform CRUD actions in a Node.js application with Typescript.
Spring Boot Handle Many-To-Many relationship with JPA in a Spring Boot application - part 2 In this post, we will see how to handle Many-to-Many relationships that have additional information. We will use JPA, Hibernate, in a Spring boot project.
Spring Boot Handle Many-to-Many relationship with JPA in a Spring Boot application - part 1 In this post, we will see how to create many-to-many relationships between entities using JPA and Hibernate ins a Spring Boot project.
Prisma Understand the shadow database feature of Prisma ORM When running a Prisma migration on a cloud-hosted database, you need a shadow database to see your migration succeed. In this post, we will see why it is required.
Node.js Using PlanetScale and TypeORM to build a Node.js REST API This tutorial will show how to use PlanetScale, the Serverless database, and TypeORM to build a REST API in Node.js and Typescript.
Serverless PlanetScale: The performant MySQL database platform In this tutorial, I show to use the CLI to manage your database and perform tasks like creating a branch, connecting to the shell, executing the query, and deploying to production.
MongoDB Handle MongoDB transactions in Node.js using Mongoose This tutorial will show how to handle MongoDB transactions in a Node.js application using the most popular ORM Mongoose.
MongoDB Create a replica set in MongoDB with Docker Compose This tutorial will show how to create a replica set in MongoDB, then use Docker compose to make a more straightforward setup.
Spring Boot Handle database migrations in a Spring Boot application with Flyway In this tutorial, we will see how to use Flyway in a SpringBoot application to create and execute database migrations.
Lambda How to deploy a AWS Lambda container with Docker In this tutorial, we will create an AWS Lambda function from a Docker image to backup a PostgreSQL database. We will also see how to test in local and deploy in production.