Back to Languages

Nodejs Tutorial

Learn Nodejs interactively. Read the concept and write code to practice.

1. Node.js Introduction

Node.js is an open source server environment. Node.js is free and runs on variou...

2. Node.js Modules

What is a Module in Node.js? Consider modules to be the same as JavaScript libra...

3. Node.js HTTP Module

Node.js has a built-in module called HTTP, which allows Node.js to transfer data...

4. Node.js File System Module

The Node.js file system module allows you to work with the file system on your c...

5. Node.js URL Module

The URL module splits up a web address into readable parts. To include the URL ...

6. Node.js NPM

NPM is a package manager for Node.js packages, or modules if you like. www.npmj...

7. Node.js Events

Node.js is perfect for event-driven applications. Every action on a computer is...

8. Node.js Express Framework

Express is a fast, unopinionated, minimalist web framework for Node.js. It is th...

9. Express Request & Response

In Express, the callback function takes a Request (`req`) and Response (`res`) o...

10. Express Middleware

Middleware functions are functions that have access to the request object (`req`...

11. REST APIs Concepts

REST stands for REpresentational State Transfer. It is an architectural style fo...

12. Express Body Parsing

To handle POST or PUT requests in Express, you need to parse the request body to...

13. URL Parameters (Params)

URL parameters are named parts of the route URL. They act as variables. They ar...

14. Query Strings

A query string is the part of a URL after the question mark (`?`), often used to...

15. Environment Variables

Environment variables are used to store sensitive data like API keys, database p...