Node.js Migrate a Node.js project from ESLint and Prettier to Biome This post will show you how to migrate an existing Node.js project using ESLint and Prettier to Biome. The Biome CLI provides simple commands to complete the migration.
Node.js Set up a Node.js project with TypeScript and Biome This post shows you how to set up a Node.js TypeScript and use Biome as the Code formatted and linter. You learn how to run it before every commit and inside your CI pipeline with GitHub Actions.
GitHub Actions Publish a Docker image to Amazon ECR from a GitHub Actions This post shows how to build, tag, and push a Docker image in Amazon ECR from a GitHub Actions workflow. The authentication to AWS is done using OpenID Connect.
AWS CDK Create an OpenID Connect for GitHub with the AWS CDK This post shows how to create an OpenID Connect for GitHub and attach some IAM roles to access AWS resources from the GitHub Actions workflow. We will use the AWS CDK as the IaC tool.
Node.js Translate texts in Node.js with Amazon Translate This shows how to use the AWS SDK v3 client for Amazon Translate in a Node.js application to translate text from one language to one or many.
Node.js Read environment variables in a Node.js application This post shows how to load and read environment variables in a Node.js application written in JavaScript first and then in TypeScript. We will see how to validate the environment variables at the application launch.
Prisma Handle database transactions in Node.js with Prisma ORM A database transaction is an execution of many operations (insert, update, or delete) as a single unit, taking the database from a consistent state to a consistent one. If one operation fails, all the previous operations are canceled. The properties of a transaction are Atomicity, Consistency, Isolation, and Durability (ACID)
Node.js Install and use the AWS SDK v3 in Node.js In this post, we will see how to install the AWS SDK v3 and use it in a Node.js project to interact with an AWS service.
CloudFront Configure a custom domain with SSL on AWS CloudFront This post shows how to attach a custom domain name to a CloudFront distribution and secure it with a custom SSL certificate generated. Doing that allows a website to be served with a human-friendly URL.
AWS Install and use the AWS CLI v2 locally In this post, we will learn how to install the AWS CLI v2, configure the AWS credentials, and run a command to manage AWS services from the terminal of our computer.
Node.js Retrieve videos using YouTube Data API v3 in Node.js In this tutorial, we will see how to retrieve all the YouTube channel videos from the YouTube Data API using the Google APIs SDK for Node.js.
Node.js Retrieve YouTube API v3 key with Node.js In this post, we will see how to generate the Access token required to interact with the TouTube Data API v3 and use the OAuth client to retrieve information about a YouTube channel.
AWS CDK Deploy a Static Website on AWS S3 and CloudFront with AWS CDK In this post, you will see how to define the Infrastructure using the AWS CDK v2 for hosting a React application on AWS S3 and CloudFront. You will also see how to invalidate the CloudFront cache.
Spring Boot Spring Boot 3 and Docker compose integration This post shows how to take advantage of the Spring Boot integration Docker Compose to improve your development experience when building locally a Spring Boot application connected to a database.
Spring Boot Implement Role-based Access Control in Spring Boot 3 This post shows how to implement a Role Based Access Control in a Spring Boot 3 application using Spring Security to ensure only authorized users with a specific role can access a resource.
Spring Boot Implement JWT authentication in a Spring Boot 3 application Learn how to enhance the security of your Spring Boot 3 application by implementing JSON Web Token (JWT) authentication. Explore the fundamentals of JWT and step-by-step integration in this comprehensive guide.
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.
Node.js Upgrade Node.js using NVM the right way Upgrading the Node.js version with NVM doesn't upgrade the Node.js global packages installed in the current version, in this post, we write a script to do it automatically.
CloudFront Host a static website on AWS with S3 and CloudFront This post shows how to upload static files to an S3 bucket, link the S3 bucket to a CloudFront distribution, and allow the distribution to serve files from a CloudFront distribution URL.
GitHub Set up the GitHub integration for Slack for faster code reviews This post shows how to install the GitHub application in Slack, connect a GitHub account, and receive pull request events of a GitHub repository in the Slack channel.
Spring Boot Automate the deployment of a SpringBoot application using GitHub Actions CI/CD This post will show how to automatically deploy a SpringBoot application in production when the code changes using a CI/CD pipeline on GitHub Actions.
REST API Create a REST API with AWS Lambda and API Gateway using AWS CDK This post shows how to define RESTful API routes on AWS API Gateway that invoke Lambda functions. We will write the infrastructure stack using the AWS CDK and SAM for local testing.
Web Scraping Perform Web scraping in Node.js using a scraping browser In this post, we will see how to perform web scraping in Node.js on websites with Recaptcha verification and Bot protection using a Scraping Browser and Puppeteer.
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 Install Node.js using NVM In this post, we will see how to use NVM to install different Node.js versions on the same computer and enable specific Node versions when needed.