In this tutorial explains about How to integrate Sequelize ORM in your application with node js.
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.
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
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.
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.
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.
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.
First, we see the file upload with Multer in Node.js and Express JS using Postman.
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.
Cloudflare provides free SSL certificate with limited access which is enough for blogger or any website.
Below are the steps to configure SSL certificate of Cloudflare.
Step 1: Go to cloudflare.com and create a free plan account.
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.
In the account Dashboard, under Settings click Server.
After click server button, this tab will looks like
Click manage button, popup will shown in the page. You can turn on/off SSH access
SSH will be turn on, Open your terminal with the following content:
Enter the above command with your cpanel password.
Now, you will access your hosting from terminal.
Read more article at phpexpertise.com
Originally published at http://www.phpexpertise.com 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.
description: simple restful crud app using node.js, express js and mongodb.
entry point: (index.js) app.js
keywords: Express RestAPI MongoDB Mongoose
license: (ISC) MIT
"description": "simple restful crud app using node.js, express js and mongodb.",
"test": "echo \"Error: no test specified\" && exit 1"
Is this ok? …
Learn more about PayPal Express Checkout visit blog at: http://www.phpexpertise.com/paypal-express-checkout-integration-in-php/