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.
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.
Web Scraping How to scrape amazon.com with Node.js In this post, we will see how to scrape amazon.com to retrieve information about a product using Node.js with Web Scraper libraries.
Node.js Get the user IP address in a Node.js application with Express In this post, we will see how to retrieve the user IP address of a user in an Express Node.js application running behind the reverse proxy Nginx.
RabbitMQ Publish a message to many Node.js applications using RabbitMQ In this post, we will see how to publish a message to be consumed by two Node.js applications using RabbitMQ. This is also called Pub/Sub pattern
RabbitMQ Asynchronous communication between Node.js applications using RabbitMQ In this post, we will send a message from a Node.js application into a RabbitMQ queue and receive this message from another Node.js application.
Web Scraping How to Scrape Zillow using Node.js In this post, we will scrap the Zillow website using a scraping API named ScrapingDog that helps bypass captcha verification and scrap at scale.
Node.js Load balancing a Node.js application with Nginx In this post, we will see how to configure a load balancer on a Node.js application using Nginx and see how it improves the performance.
Node.js Validate request body and parameter in a Node.js Express API In this post, we will see how to validate the request body sent to an API route built in Node.js with Express Framework.
Node.js Schedule background tasks in Node.js with node-cron In this post, we will see how to create and run scheduled background tasks in a Node.js application using node-cron.
Node.js Using GraphQL union type in a Node.js application In this post, we will see how to use GraphQL union types in a Node.js application run by Apollo Server.
Node.js Send email in Node.js using Handlebars and Amazon SES In this post, we will see how to set up Amazon SES and send emails through SMTP in Node.js using Handlebars and Nodemailer.
Node.js Configure rate limiting on a Node.js REST API with Express In this post, we will see how to configure a rate limiting to limit the number of requests a client can make on a Node.js Rest API.
Docker Build a Docker image of a Node.js application In this post, we will see how to build the Docker image of a Node.js application and use the Javascript bundler ESbuild to reduce the application bundle and hence the Docker image size.
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.
Next.js Create a Docker image of a Next.js application In this post, we will see how to create a Docker image of a Next.js application and use the standalone output the reduce the size of the Docker image.
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.
Node.js Read an Excel file in Node.js and Typescript In this post, we will see how to read the content of an Excel file in Node.js using the library exceljs. We will also see how to handle cell formula.
Node.js Write data in an Excel file using Node.js and Typescript In this post, we will see how to write data coming from a database in an Excel file using Node.js and Typescript. We will use a package called exceljs.
Node.js Build a One-time Password in Node.js using Twilio SMS API and Redis In this post, we will see how to build a one-time password system in Node.js and Typescript using the Twilio SMS API and Redis.
Node.js Generate a CSV file from data using Node.js In this post, we will see how to write data coming from a database in a CSV file using Node.js and Typescript. We will a package called csv-writer.