Node Tutorials

RESTful API Using Node.js and Express.js

REST stands for REpresentational State Transfer. REST is a web standards-based architecture and uses HTTP Protocol. REST services address components as resources and are accessed by a common interface using HTTP standard methods. RESTful is the web service implementation of REST software architecture. In this tutorial, I am going to explain how to build RESTful […]

RESTful API Using Node.js and Express.js Read More »

How to Connect to the Ethereum Network using Node and Web3

Introduction In order to build a decentralized application, we need to connect to the Ethereum (or other) blockchain. In this tutorial, we are going to learn how to connect to the Ethereum blockchain using Node and Web3. Prerequisite Ethereum test net node ( we’ll use Infura.io for same) Latest Node.js installed Web3.js installed Connect to

How to Connect to the Ethereum Network using Node and Web3 Read More »

Nodejs Authentication Using JWT and Refresh Token

Nodejs authentication using JWT a.k.a JSON web token is very useful when you are developing a cross-device authentication mechanism. Here is how token-based authentication works: User logins to the system and upon successful authentication, the user are assigned a token which is unique and bounded by time limit say 15 minutes On every subsequent API

Nodejs Authentication Using JWT and Refresh Token Read More »