Category «NODE JS»

How to send base_64 Image in ReactJS

We can send base_64 Image in ReactJs with help of the Javascript method. How to store base_64 Image in ReactJS. I will use Nodejs for storing base_64 Image into a database. So Node js will handle our React Request. Base64 also known as Base64 Content-Transfer-Encoding is an encoding and decoding technique used to convert binary …

How to Insert Multiple records in Nodejs

We can insert multiple records into database using NodeJS. How to Insert Multiple records in Nodejs Download NodeJs in your system using : https://nodejs.org/en/download/ We will use MySQL for Insert Query and PhpMyAdmin to maintain our Database. In the place of MySQL We can use Mongo DB as well. This way we can insert data …

Send Emails with Node.js & React Js

Node.js - Send Emails via SMTP with Nodemailer

Today, I will share with you the logic behind email sending in MERN App. Send Emails with Node.js & React Js. How to MAKE an Email Send API in Nodejs We can send emails using Nodejs but for the front-end, we required any front-end technology like VueJs, AnuglarJs, or Reaactjs. So I am using Reactjs …

File Upload in Nodejs

We can upload one or many files in a folder using Nodejs and We also can save its name into a Database. File Upload in Nodejs. I am using Node framework EXPRESS and multer for file upload into a folder. You can install the express framework by using the below command npm install express Install …

Nodejs Connection in MongoDB

To create connection in Nodejs with MongoDB is easy like PHP MySQL Connection. Nodejs Connection in MongoDB. MongoDB will create the database if it does not exist, and make a connection to it. db.connection.js Now check the connection using cmd command . So write below cmd for testing the connection C:\Users\Your Name>node db.connection.js If everything …

Routing in Node.js

What is Routing?Routing defines the way in which the client or front-end requests are handled by the application endpoints ( Server SIde ).Routing in Node.js Download Node from here https://nodejs.org/en/ Implementation of routing in Node.js: There are two ways to implement routing in node.js which are listed below: Framework No Framework But We will use Normal …

CRUD Operation Using React & Nodejs

CRUD Operation in NODEJS and ReactJS

In this tutorial, I will show you how to build a full-stack React + Node.js + MySQL CRUD example with Express.CRUD Operation Using React & Node The back-end server uses Node.js + Express for REST APIs, front-end side is a React.js client with React Router, Axios & Bootstrap. React, Node.js & MySQL CRUD example Short …

Building a Simple CRUD App with NodeJS

CRUD, Express, and MongoDB are big words for a person who has never touched any server-side programming in their life. Building a Simple CRUD App with NodeJS. Build a school management from scratch using MongoDB & Express.We are not using Reactjs for the front-end. We will use handlebars (hbs) template engine. MongoDB, Express and Nodejs …