Author: codebun

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,

Crud operations in nodeJS, expressJS and mongodb

How to perform Crud operations in NodeJS, ExpressJS, and MongoDB. Simple NodeJs Crud application using NodeJS and MongoDB. Follow the below steps to create a simple crud app in NodeJS, ExpressJS, and MongoDB. Prerequisite: Node Must be Install In your Machine. CRUD is an acronym for Create, Read, Update, and Delete. It is a set

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

Login and Logout in NodeJs, ExpressJS and MongoDB

How to perform Login And Logout in NodeJS, ExpressJS, and MongoDB. Login logout example in MERN. This  Login And Logout example in NodeJS and ExpressJS System are StepUp on the passport Library of nodeJS. The user Enter the username name and password. ExpressJS Create a session and find a similar username and password and allow the

Library Management System project In Spring and Hibernate with source code

Another Java project for the students or professional for computer science. If you are looking for a Java project using Spring MVC and hibernate then Library management system can your choice let’s see used technologies and the functionality about this project. Online Library management system project in spring and hibernate with source code and project

Write a c program to find Mean Square Deviation

How to write a c program to find Maen Square deviation in the statistic. C code to find Mean Square Deviation #include<stdlib.h> #include<stdio.h> #include<conio.h> #include<math.h> void m(int a[100]); void mo(int a[100]); void md(int a[100]); float even(int a[100]); int odd(int a[100]); int w[100] , sum=0; int size ,i, j, temp, h ; float median , m1,z,sum1=0.0;

Write a C program to find statistical ERROR

Write a C program to find the statistical error like Mean Error, Percentage error, Mean percentage error and Absolute percentage error. Mean error Percentage error Mean Percentage error Absolute Percentage error C Code to find statistical error #include<stdio.h> #include<stdlib.h> void main() { int n,i; float sum=0,a[100],b[100],me=0,pe=0,mpe=0,ampe=0,s=0; printf("\nHOW MUCH FIND NO. OF MEAN PLEASE ENTER=>"); scanf("%d",&n);

C code to find Covariance and Correlation

How to write a C program to find the Covariance and Correlation. C code to find Covariance and Correlation #include <stdio.h> #include <math.h> class StdDeviation { private: int max; double value[100]; double mean; public: double CalculateMean() { double sum = 0; for(int i = 0; i < max; i++) sum += value[i]; return (sum / max); }