MERN

How to Send Email using NodeJS

Sending Emails using NodeJs. How to send Email with nodeJS. In this tutorial, We will learn how to send emails in NodeJs using nodemailer library. Install the nodemailer library D:\work\Codebun\Email>npm i nodemailer Create app.js file and require nodemailer Var nodemailer = require(“nodemailer); Create a variable to give the sender’s details like email service, email id, …

How to Send Email using NodeJS Read More »

How to Upload image in database using NodeJS and MongoDB

In this tutorial, Let see how to Upload images to the database in MongoDB and Node js. Another Example to upload images in the database using MERN. Library Required Body-parser Ejs Fs Mongoose Multer Nodemon Folder 📁Structure   Step1: Initialize Open command terminal and hit D:\work\Codebun\Image-upload> npm init Require all library and dependencies Create a …

How to Upload image in database using NodeJS and MongoDB Read More »