Home
Node.js Articles, Tutorials and Examples
Node.js is one of the most famous servers in the world. It's easy and fast. It requires only one-step installation. Node.js is a JavaScript server-side framework. This section contains latest articles, tutorials and examples on Node.js.
Latest Articles, Tutorials, Examples on Node.js
- Head start to create an Express.js project.
In this article, we are going to learn how to download, set up an environment to create first project using Express.js (Node.js)?
- Say 'Hello, World' from server by Express.js (Node.js).
In this Node.js article, we are going to learn how to display ‘Hello world' from Server-Side using Express.js?
- Post Request in Express.js (Node.js).
In this article, we are going to learn how to implement post request in Express.js (Node.js) with our HTML page and server-side?
- URL (Uniform Resource Locator) module in node.js.
In this article, we are going to learn about Uniform resource locator (URL) Module in Node.js.
- How to send data in JSON format from server?
In this article, we are going to learn how to send data in JSON format from server?
- How do I read a file in node.js using readFile?
In this article, we are going to learn how to read al content of a file using readFile in Node.js?
- Node.js Formidable Module-1.
In this article, we are going to learn about Node.js formidable module with an example of selecting a file and submitting to server.
- Node.js Formidable Module-2.
In this article, we are going to learn about Node.js formidable module with an example of selecting a file and submitting to server. Here, we will understand how file is uploaded to the server?
- Node.js Formidable Module-3.
In this article, we are going to learn about Node.js formidable module with an example of selecting, uploading and moving a file.
- Create MYSQL database by using Node.js.
In this article, we are going to learn how to create a database in MySQL in Node.js?
- Create table in MySQL database by using Node.js.
In this article, we are going to learn how to create table in our previously created database schema in MYSQL database?
- Create another table in same MySQL database by using Node.js.
In this article, we are going to learn how to make/create a table in same MYSQL database by using Node.js?
- Insert data in MYSQL table by using Node.js.
In this article, we are going to learn how to insert a record in MYSQL table using Node.js server?
- Show data from MYSQL table by using Node.js.
In this article, we are going to learn how to show a record from MYSQL table using Node.js server?
- Delete data from MYSQL table by using Node.js.
In this article, we are going to learn how to delete a record from MYSQL table using Node.js server?
- Update data of MYSQL table by using Node.js.
In this article, we are going to learn how to update a record of MYSQL table using Node.js server?
- Count number of records in MYSQL table by using Node.js.
In this article, we are going to learn how to count number of records in MYSQL table using Node.js server?
- Creating a pool of connection in Node.js.
In this article, we are going to learn how to create a pool of connection using Node.js server?
- Search record with two fields from MYSQL table by using Node.js.
In this article, we are going to learn how to search record with two fields from MYSQL table using Node.js server?
- Using Session in Express.js (Node.js).
In this Node.js article, we are going to learn about sessions in Express.js, how to create sessions, how to use them in Node.js code?
- Route parameters in Express.js (Node.js).
In this article, we are going to learn how to route through parameters in Node.js?
- How to use EJS with Express in Node.js?
In this article, we are going to learn how to use EJS with express in Node.js?
- Search record with a pattern from MYSQL table by using Node.js.
In this article, we are going to learn how to search with a random pattern from MYSQL table using Node.js Server?
- How to create signup form in Node.js?
In this article, we are going to learn how to work with Login/Sign In interfaces and their actions in Node.js? For that, we are creating a signup form that will send data to SERVER in Node.js.
- How to create login form in Node.js?
In this article, we are going to work further on the last two parts of Log-in and initiate some verification? Here, we are creating a login form that will send data to server for authentication in Node.js.
- Display data from two different tables in MYSQL table by using Node.js.
In this article, we are going to learn how to display data from two different tables in MYSQL table using Node.js server?
- Express Server Security in Node.js
How to make your server secure instantly? This article is about making your Express server secure from very well known web vulnerabilities by setting HTTP headers appropriately.
- Node.js - Optimal Performance Part -1.
Want to increase the performance of your server quickly, without changing the core logic? Read on.
- Node.js - Optimal Performance Part -2.
In this article, we will learn how to overcome challenges of asynchronous functions?
- Select data using identical field from MYSQL table by using Node.js.
In this article, we are going to learn how to select data from two tables using identical field in MYSQL table using Node.js server?
- Drop a MYSQL table by using Node.js.
In this article, we are going to learn how to drop a MYSQL table using Node.js server?
- Cross-Site Request Forgery (CSRF) Attacks.
In this article, we are going to learn about Cross-Site Request Forgery (CSRF) Attacks.
- How to protect Server from CSRF Attacks?
In this example, we are going to learn about how to protect your server from CSRF attacks?
- Path Module in Node JS
In this article, we are going to discuss one of the inbuilt modules i.e. PATH MODULE. It provides utilities for working with file and directory paths.
- Export Import of files in Node JS
In this article, we will learn about the importing and exporting of source code files in Node JS.
- Building Web Server using Node JS
In this article, we are going to learn to build web server using Node Js, this post contains source code including the outputs.
- Developing a website using Node JS
In this article we are going to build some real stuff. Here, we are developing a website using Node JS.
- Anonymous function in Node JS
In this article, we are going to learn about the anonymous function in Node JS? What is it and how to use it in the code?
- Using basic HTML, CSS, and JavaScript in Node App.
In this article, we are going to learn how we can run basic HTML, CSS, and JavaScript in our Node.js file to add little style to it's front-end.
Puppeteer API
- Node.js and Google Puppeteer API Series
- Generate PDF file using Node.js and Puppeteer API
- Create PDF File from static HTML using Node.js and Puppeteer API
- Create PDF file from URL using Node.js and puppeteer API
- How to take a screenshot using Node.js and Puppeteer API (1)?
- How to take a screenshot from a particular section of a page using Node.js and Puppeteer API
- Interacting with forms and web pages using Node.js and Puppeteer – 1
- Interacting with forms and web pages using Node.js and Puppeteer – 2
- Interacting with forms and web pages using Node.js and Puppeteer – 3
- Mobile Device Emulation Using Node.js and Puppeteer API
- Project on Node.js and Puppeteer API | YouTube video search and Screen capture without opening a browser
- Project on Node.js and Puppeteer API | Converting Form Submission to PDF with Node.js and Express
Modules
- Node OS Module
- Node Timer Module
- Nodemon Third-Party Module
- UPPER-CASE Node.js Module
- Node.js and Morgan Middleware
Node.js express
- Express template generator for your projects (1)
- Express template generator for your projects (2) | A study of the application structure
- Postman tool for REST API in Express/Node
EJS
- Node and EJS Template Engine Series | Introduction to EJS
- Hello World in Node, Express and EJS (1) | Introduction to EJS
- Hello World in Node, Express and EJS (2) | Introduction to EJS
- EJS with Express Routes
- EJS Variables (Injecting Values)
- EJS partials
- EJS Layouts
- EJS If Else Statement (EJS Conditions)
- EJS for loops
- Node and EJS project (1)
Nodemailer
- How to send emails using Nodemailer | Node.js
- How to send emails with attachments using Nodemailer | Node.js
- How to send emails with Nodemailer using HTML as content | Node.js
- Email form using Nodemailer and Node.js (project)
Node.js Authentication Series
- Passport Middleware (Module) in Node.js
- Passport local strategy section 1 | Node.js
- Passport local strategy section 2 | Node.js
- Passport local strategy section 3 | Node.js
- How to setup and use passport OAuth Facebook Authentication (Section 1) | Node.js
- How to setup and use passport OAuth Facebook Authentication (Section 2) | Node.js