Node.js

How to Get Current Date and Time in JavaScript

this article will explain two solutions on how to get the date and time in javascript. The first solution uses the date() object, and the second uses the external library Moment.js.

Nodemailer + Gmail: How to Send Emails from Node.js API using Gmail

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.

How to Manage Session in Nodejs using Redis Store

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.

How to make Axios Requests in React to a nodejs API

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.

How to create MySQL database with node.js

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.

MySQL queries examples in node.js

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”.

Translate »