1 ZQ0QUExBFtsPfzvxdlIc2g

Node.js MySQL

December 29, 2018 admin 3

Node.js can be used in database applications. One of the most popular databases is MySQL. Install MySQL Driver Using npm C:UserspcDesktopnodeJsTest>npm install mysql [{“id”:1,”name”:”Dr.Chandana”},{“id”:2,”name”:”Dr.Cooray”},{“id”:3,”name”:”Prof. Cooray”},{“id”:4,”name”:”Dr.Kumari”}]

articleocw 57e91c596bba5

Node.js Send an Email

December 29, 2018 admin 4

The Nodemailer Module The Nodemailer module makes it easy to send emails from your computer. The Nodemailer module can be  installed using npm command see example. C:UserspcDesktopnodeJsTest>npm install nodemailer var nodemailer = require(‘nodemailer’); Send an Email Now you are ready to send emails from your server. Use the username and password […]

images

Node.js Modules

December 29, 2018 admin 1

What is a Module in Node.js? A set of functions that you want to include in your application. Built-in Modules Node.js has a set of built-in modules that you can use without any further installation. Examples: assert Provides a set of assertion tests buffer To handle binary data child_process To […]

Capture 2

Node.js-Introduction

December 27, 2018 admin 6

Key Points – Node.JS Open Source Cross Platform Javascript Runtime Environment Execute in Server Side Runs on V8 Engine Written in (JS) + (C++) Version History Why Node.JS Special? Let’s get Idea of Why we use Node.JS Javascript Everywhere Allowing web application development to unify around a single programming language, rather than […]

angular

AngularJS-CLI-Introduction

December 26, 2018 admin 4

WHAT IS ANGULAR AngularJS is a JavaScript-based open-source front-end web application framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications. Initial release: October 20, 2010; 8 years ago Stable release: 1.7.5 / October 4, 2018; […]