Tag: node

Using The Writefilesync Method In Node Js

Using the writeFileSync method in Node.js

Dev

Learn to use writeFileSync in Node.js, a method that allows us to create files, write to files, and update files synchronously.

Elijah Agbonze
Jul 28, 2022 ⋅ 8 min read
Build an automated ecommerce app with WhatsApp Cloud API and Node.js

Build an automated ecommerce app with WhatsApp Cloud API and Node.js

Dev

The newly open-sourced WhatsApp Business API provides a new channel for ecommerce businesses to engage customers.

Daggie Douglas Mwangi
Jul 25, 2022 ⋅ 19 min read

Effortless database schema migration with Prisma

Dev

Learn how to use Prisma Migrate to perform database schema migrations, reducing the tedium (and improving the performance) of your code.

Godson Obielum
Jul 22, 2022 ⋅ 7 min read
JavaScript Logo

Getting started with the Square Node.js SDK

Dev

Here, we demonstrate how to use the Square Node.js SDK to easily integrate credit card processing functionality into an application.

Eze Sunday
Jul 19, 2022 ⋅ 5 min read
Node JavaScript Logo

Guide to promises in Node.js

Dev

Learn how touse the util.promisify() utility module in Node.js to transform a standard function that receives a callback into one that returns a promise.

Pascal Akunne
Jul 15, 2022 ⋅ 6 min read
Node Buffer Methods

Node.js buffer: A complete guide

Dev

Explore the basics of buffer methods in Node.js, including Buffer.compare(), Buffer.concat(), and buf.entries(), and learn how they can improve your application.

Ukpai Ugochi
Jul 14, 2022 ⋅ 6 min read
Testing Node Mocha Chai

Testing Node.js with Mocha and Chai

Dev

Demonstrate how to test a Node.js app with Mocha, including writing our own test suites and running Mocha tests in the browser.

Glad Chinda
Jul 13, 2022 ⋅ 18 min read

How to handle data validation in Node.js using validatorjs

Dev

In this tutorial, we’ll learn how to put basic input validation in place with validatorJS. We’ll also learn how to define custom validation rules for two use cases.

Nkere-Awaji Inwan
Jul 6, 2022 ⋅ 5 min read
Express Logo

Express.js 5 migration guide

Dev

In this tutorial, we demonstrate how to upgrade from Express v4 to Express v5 and look at the new features available in Express 5.

Clara Ekekenta
Jul 6, 2022 ⋅ 8 min read
Understanding Memory Leaks In Node.js

Understanding memory leaks in Node.js apps

Dev

Memory leaks in Node apps can be notoriously elusive. Learn how to identify them, debug them, and prevent them from happening in the first place.

Faith Ng'etich
Jul 4, 2022 ⋅ 9 min read
NestJS Vs. Express.js

NestJS vs. Express.js

Dev

In this article, we’ll compare NestJS vs. Express.js to help developers choose the best framework for their Node.js projects.

Temitope Oyedele
Jun 22, 2022 ⋅ 6 min read
Node.js Express Test-Driven Development With Jest

Node.js Express test-driven development with Jest

Dev

Test-driven development, or TDD, is a fairly common style of programming in the workplace. Node.js now has its own inbuilt test runner.

Andrew Baisden
Jun 20, 2022 ⋅ 7 min read