This post will discuss Error Handling and show you how to write and set up your own custom Error handler middleware function in Node.js/Express.js API.
This tutorial will show you how to add and implement a forgot and reset password feature to your MySQL + node.js API by using the Nodemailer module to send an email link to the user account and allow him to reset his password when he forgets it securely.
This article aims to demonstrate and explain how to send emails via SMTP with Nodemailer.
This article will show you how to get a request Origin and request host in express.js.
This post will show you how to get a request Host in express.js.
In this post, we will show how to send emails using a Gmail account. We will start by setting up a Gmail OAuth2 application, generating the tokens, and then using these credentials within the Nodemailer transporter to access Gmail accounts without confronting Gmail security high-level issues in production mode.
This article will implement a complete authentication and authorization system with JWT to add a security layer to access protected routes within our MySQL/Node.js API.
This article provided a step-by-step tutorial showing how to easily implement a Many-To-Many association in MySQL/Node.js API using async/await calls.
This article will show you how to implement a One-To-One association in a MySQL database using async/await requests in a Node.js API.
This article provided a step-by-step tutorial showing how to efficiently represent and implement a One-To-Many association in MySQL/Node.js API using async/await calls.
This article will show you how to represent and implement a One-To-One association in a MySQL database using Sequelize async/await to interact with the database in a Node.js API.
This tutorial provides a profound explanation of the many-to-many association and how to define and implement it using Sequelize async/await to interact with MySQL database in a Node.js API.
This tutorial provides a profound explanation of the one-to-many association and how to define and implement it using Sequelize async/await to interact with MySQL database in a Node.js API.
This article will show you how to add routes to your Node.js/MySQL API to insert data into your database-related tables using Sequelize ORM.
This article will show you how to use Sequelize async/await to interact with MySQL Database in Node.js by building a Node.js Restful CRUD API using Express, Sequelize, and MySQL server.
This article intends to show how you can use the initialize() function in a node.js API to create and connect a MySQL database and initialize the Sequelize models inside this function.
This tutorial will teach you how to build a complete Node.js Login, Registration, and user management RESTful API using MySQL. For that, we will use node.js to develop our server and MySQL to store users and handle sessions.
In this article, we will present Redis-store, the most popular choice to store and manage session dada, then give you an easy way of how to store session data in Redis store with a practical example.
In this tutorial, you will learn how to build a complete Node.js Login, Registration and user management RESTful API using Redis. For that we are going to use node.js to build our server and Redis to store users and handle sessions.
In this article, we will look at sessions and give you a nice and simple way of how to store them in MySQL database using express-mysql-session.
This article is a step-by-step guide on how to create a full stack React web application and set up the communication between the frontend app and the server backend.
Making HTTP requests can be done in different ways, and using axois is one of them. In this article, we will discuss how to fetch responses from a node.js API and get ressouces using Axios inside a React apps.
The combination async/await syntax promises makes writing MySQL queries in node.js easier with a better maintainability. This article intent is to show you how to use this combination to interact with MySQL database in node.js in a practical way.
This tutorial is walk through on how to build a complete RESTful API with node.js and Express and connect it to a MySQL database .
This article shows how to open Visual Studio code from Command Line for both: Windows users and mac users
The following examples will show you exactly how to create a MySQL database with nodejs using the two types of connection: Single Connection and Connection Pooling.
This tutorial is walk through on how to create a node.js API and connect it to a MySQL database using a : pool connection.
In the Following, examples of INSERT, SELECT, UPDATE and DELETE queries necessary to operate all CRUD operations: Create, Read, Update and Delete. We will write our queries to get data or make changes to a table named “Employee”.