Home » #nodejs

Tag Archives: #nodejs

otp authentication node js

Hello. In this tutorial, we will create a simple node js application and implement an otp authentication login mechanism. Once the otp will be verified an access token will be generated that can be further used to access the secure api’s. 1. Introduction Authentication and authorization are the key features of any application. Authentication provides access while authorization specifies what ...

Read More »

Google authentication Nodejs and Passport

Hello. In this tutorial, we will understand and implement the google sign-in integration with the nodejs application using passport and passport-google-oauth2 modules. 1. Introduction Passport.js is an authentication middleware designed for Nodejs. passport-local uses the passport strategy for authenticating with a username and password. The module helps to authenticate using a username and password in the nodejs applications. If you ...

Read More »

Nodejs Nodemailer example

Hello. In this tutorial, we will understand the nodemailer module in a simple nodejs application. We will set up a fake smtp server (e.g. smtp4dev) for localhost development and understand the package implementation. smtp4dev is an open-source service that emulates an smtp email server for email testing and debugging purposes. 1. Introduction Nodemailer is an npm module used for sending ...

Read More »

Query in graphql

Bipartite Graph

Hello readers. In this tutorial, we will understand and implement the query in graphql. 1. Introduction GraphQL is an API syntax that defines how to fetch data from one or more databases. It was developed by Facebook to optimize the RESTful api calls. It is a data query and manipulation language for api’s. It is faster, simple, and easier to ...

Read More »

Mutations in graphql

Bipartite Graph

Hello readers. In this tutorial, we will understand and implement mutations in graphql. 1. Introduction GraphQL is an API syntax that defines how to fetch data from one or more databases. It was developed by Facebook to optimize the RESTful API calls. It is a data query and manipulation language for API’s. It is faster, simple, and easier to implement ...

Read More »

Nodejs and graphql

Hello readers. In this tutorial, we will implement GraphQL with nodejs and focus on creating a hello world application. 1. Introduction GraphQL is an API syntax that defines how to fetch data from one or more databases. It was developed by Facebook to optimize the RESTful API calls. It is a data query and manipulation language for API’s. It is ...

Read More »

Selenium NodeJS Example

This article explores using Selenium in node environment to automate testing. This covers running selenium inside local machine to utilize chrome browser 1. Introduction Selenium is used to automate browsers. Selenium WebDriver has found its place in test automation for web applications. It is used to create robust, browser-based regression automation suites and tests. It can be used for end ...

Read More »

MySQL NodeJS Example

Bipartite Graph

1. Introduction In this post, we feature a comprehensive Tutorial on integrating MySQL in a simple NodeJS application and execute basic CRUD operations with the same. MySQL is one of the most used SQL databases in many of the world-enterprise applications due to its ability to manage transactions and the ACID-behaviour which is built into its core. One of the reasons MySQL ...

Read More »