In this tutorial explains about How to integrate Sequelize ORM in your application with node js.

Image for post
Image for post

What is Sequelize

Sequelize is a promise-based ORM for Node.js. It supports various databases like PostgreSQL, MySQL, MSSQL, and SQLite. This features are transaction support, relations and read replications.

Install Sequelize

We initialize a Node application and install Sequelize and MySQL adapter.

$ node -v 
$ npm init
// Using NPM
$ npm install --save sequelize

Install one of the following database driver in your application.

$ npm install --save pg pg-hstore
$ npm install --save mysql2
$ npm install --save sqlite3
$ npm install --save tedious // MSSQL

Setting up a connection

After the installation steps, create an connection with following contents. …

In this tutorial we explains about How to Add Web Push Notification to Your Site. Push notification allows you to send notification to users even they are not visiting your website. In WordPress many push notification plugins are available. Here we will see about how to send notification to desktop and mobile push notifications from your WordPress site.

Image for post
Image for post

What is Push Notification

Push notification is helps to increase your website traffic. Normally clickable messages are displayed on your desktop and mobile device. When these message are shown that user browser is not open.

What is OneSignal Plugin

OneSignal is a popular push notification service provider for both web and mobile. This plugin is easy to install in WordPress site. …

In this tutorial, we are going to discuss about How to build Secure Authentication App using JWT in Node.JS and Express JS. JWT means JSON Web Token is a object that is safe approach to transfer data between two parties.

Image for post
Image for post

Authentication Workflow with JWT

  1. When server receives a request from user end and JWT will encrypted that information and associate with JWT token.
  2. Client store the token in their machine for accessing data next time.
  3. Next request, client sets token in header using Authorization with Bearer XXXX XXXX XXXX
  4. In server, verify that token once succeeded and returns the result. …

In this tutorial, we discuss about How to Integrate File Upload using Multer with Node.js and Express JS. File upload is a very common operation in any application. In node.js adding a file upload feature using package to add a file very easy to app. Here we are going to see file upload operation in two ways.

Image for post
Image for post

Uploading a File through:

  1. Postman
  2. HTML Form (Template Engine)

First, we see the file upload with Multer in Node.js and Express JS using Postman.


  1. Express — is a popular framework which is a most common framework used in node.js
  2. Multer — It is a middleware for handling multipart/form-data, which is primarily used for uploading files. …

HTTPS is the secured version of HTTP. HTTP is the protocol used by your browser and web servers to communicate and exchange information. /TLS. When that exchange of data is encrypted with SSL/TLS, then we call it HTTPS. The ‘S’ stands for Secure.

Image for post
Image for post

Cloudflare provides free SSL certificate with limited access which is enough for blogger or any website.

Activate Free SSL for GoDaddy:

Below are the steps to configure SSL certificate of Cloudflare.

Step 1: Go to and create a free plan account.

Image for post
Image for post

SSH is a secure method of connecting to your hosting account to move all the files and execute commands through the terminal. Follow these 5 simple steps to enable SSH for your godaddy hosting account.

Go to your GoDaddy product page.

Scroll down, you will see web hosting section, click Manage button.

Image for post
Image for post

In the account Dashboard, under Settings click Server.

Image for post
Image for post

After click server button, this tab will looks like

Image for post
Image for post

Click manage button, popup will shown in the page. You can turn on/off SSH access

Image for post
Image for post

SSH will be turn on, Open your terminal with the following content:

ssh {cpanel-username}

Enter the above command with your cpanel password.

Now, you will access your hosting from terminal.

Read more article at



Originally published at on May 17, 2020.

In this article we have explained about Building a Simple CRUD Restful app with Node, Express, and MongoDB. CRUD stands for Create, Read, Update and Delete. These are the basic operations that a simple web app would be designed to achieve. If you don’t know about REST before, you can read more about it here.

Image for post
Image for post

Getting Started

  1. Install Node.js from the Node.js website
  2. Create a directory called as node-restful-curd-app in your local machine.
  3. Open terminal and check your node version using this command node -version
  4. Initialize the application with a package.json file
cd node-restful-curd-app
npm init

name: (node-restful-crud-app)
version: (1.0.0)
description: simple restful crud app using node.js, express js and mongodb.
entry point: (index.js) app.js
test command:
git repository:
keywords: Express RestAPI MongoDB Mongoose
author: phpexpertise
license: (ISC) MIT

"name": "node-restful-crud-app",
"version": "1.0.0",
"description": "simple restful crud app using node.js, express js and mongodb.",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"keywords": [
"author": "phpexpertise",
"license": "MIT"

Is this ok? …



I’m a blogger. Love to share technical tips for web development. My official website

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store