https://github.com/devfikdark/nodeJS-Professionals
Node.js Notes :heart:
https://github.com/devfikdark/nodeJS-Professionals
awesome awesome-lists awesome-nodejs bangla bangla-cheatsheet bangladesh books cheat-sheets developer development nodejs notes open-source professional translate
Last synced: 7 days ago
JSON representation
Node.js Notes :heart:
- Host: GitHub
- URL: https://github.com/devfikdark/nodeJS-Professionals
- Owner: devfikdark
- License: mit
- Created: 2020-06-30T12:04:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-22T16:07:08.000Z (almost 6 years ago)
- Last Synced: 2025-08-07T12:39:07.860Z (10 months ago)
- Topics: awesome, awesome-lists, awesome-nodejs, bangla, bangla-cheatsheet, bangladesh, books, cheat-sheets, developer, development, nodejs, notes, open-source, professional, translate
- Language: JavaScript
- Homepage:
- Size: 792 KB
- Stars: 27
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bangladeshi-foss - Node.js Professionals - Node.js notes and resource site translated into Bangla for Bangladeshi developers. (Web Applications / 🚀 How to contribute)
README
# NodeJS Notes For Professionals
## Table of Contents
*
Chapter 1: Getting started with Node.js
- [Section 1.1: Hello World HTTP server](/book_pages/chapter1/section1.1.md)
- [Section 1.2: Hello World command line](/book_pages/chapter1/section1.2.md)
- [Section 1.3: Hello World with Express](/book_pages/chapter1/section1.3.md)
- [Section 1.4: Installing and Running Node.js ](/book_pages/chapter1/section1.4.md)
- [Section 1.5: Debugging Your NodeJS Application](/book_pages/chapter1/section1.5.md)
- [Section 1.6: Hello World basic routing](/book_pages/chapter1/section1.6.md)
- [Section 1.7: Hello World in the REPL](/book_pages/chapter1/section1.7.md)
- [Section 1.8: Deploying your application online](/book_pages/chapter1/section1.8.md)
- [Section 1.9: Core modules](/book_pages/chapter1/section1.9.md)
- [Section 1.10: TLS Socket: server and client](/book_pages/chapter1/section1.10.md)
- [Section 1.11: How to get a basic HTTPS web server up and running!](/book_pages/chapter1/section1.11.md)
*
Chapter 2: npm
- [Section 2.0: Basic](/book_pages/chapter2/section2.0.md)
- [Section 2.1: Installing packages](/book_pages/chapter2/section2.1.md)
- [Section 2.2: Uninstalling packages](/book_pages/chapter2/section2.2.md)
- [Section 2.3: Setting up a package configuration](/book_pages/chapter2/section2.3.md)
- [Section 2.4: Running scripts](/book_pages/chapter2/section2.4.md)
- [Section 2.5: Basic semantic versioning](/book_pages/chapter2/section2.5.md)
- [Section 2.6: Publishing a package](/book_pages/chapter2/section2.6.md)
- [Section 2.7: Removing extraneous packages](/book_pages/chapter2/section2.7.md)
- [Section 2.8: Listing currently installed packages](/book_pages/chapter2/section2.8.md)
- [Section 2.9: Updating npm and packages](/book_pages/chapter2/section2.9.md)
- [Section 2.10: Scopes and repositories](/book_pages/chapter2/section2.10.md)
- [Section 2.11: Linking projects for faster debugging and development](/book_pages/chapter2/section2.11.md)
- [Section 2.12: Locking modules to specific versions](/book_pages/chapter2/section2.12.md)
- [Section 2.13: Setting up for globally installed packages ](/book_pages/chapter2/section2.13.md)
*
Chapter 3: Web Apps With Express
- [Section 3.0: Basic](/book_pages/chapter3/section3.0.md)
- [Section 3.1: Getting Started](/book_pages/chapter3/section3.1.md)
- [Section 3.2: Basic routing](/book_pages/chapter3/section3.2.md)
- [Section 3.3: Modular express application](/book_pages/chapter3/section3.3.md)
- [Section 3.4: Using a Template Engine](/book_pages/chapter3/section3.4.md)
- [Section 3.5: JSON API with ExpressJS](/book_pages/chapter3/section3.5.md)
- [Section 3.6: Serving static files](/book_pages/chapter3/section3.6.md)
- [Section 3.7: Adding Middleware](/book_pages/chapter3/section3.7.md)
- [Section 3.8: Error Handling](/book_pages/chapter3/section3.8.md)
- [Section 3.9: Getting info from the request](/book_pages/chapter3/section3.9.md)
- [Section 3.10: Error handling in Express](/book_pages/chapter3/section3.10.md)
- [Section 3.11: Hook: How to execute code before any req and after any res](/book_pages/chapter3/section3.11.md)
- [Section 3.12: Setting cookies with cookie-parser](/book_pages/chapter3/section3.12.md)
- [Section 3.13: Custom middleware in Express](/book_pages/chapter3/section3.13.md)
- [Section 3.14: Named routes in Django-style](/book_pages/chapter3/section3.14.md)
- [Section 3.15: Hello World](/book_pages/chapter3/section3.15.md)
- [Section 3.16: Using middleware and the next callback](/book_pages/chapter3/section3.16.md)
- [Section 3.17: Error handling](/book_pages/chapter3/section3.17.md)
- [Section 3.18: Handling POST Requests](/book_pages/chapter3/section3.18.md)
*
Chapter 4: Filesystem I/O
- [Section 4.1: Asynchronously Read from Files](/book_pages/chapter4/section4.1.md)
- [Section 4.2: Listing Directory Contents with readdir or readdirSync](/book_pages/chapter4/section4.2.md)
- [Section 4.3: Copying files by piping streams](/book_pages/chapter4/section4.3.md)
- [Section 4.4: Reading from a file synchronously](/book_pages/chapter4/section4.4.md)
- [Section 4.5: Check Permissions of a File or Directory](/book_pages/chapter4/section4.5.md)
- [Section 4.6: Checking if a file or a directory exists](/book_pages/chapter4/section4.6.md)
- [Section 4.7: Determining the line count of a text file](/book_pages/chapter4/section4.7.md)
- [Section 4.8: Reading a file line by line](/book_pages/chapter4/section4.8.md)
- [Section 4.9: Avoiding race conditions when creating or using an existing directory](/book_pages/chapter4/section4.9.md)
- [Section 4.10: Cloning a file using streams](/book_pages/chapter4/section4.10.md)
- [Section 4.11: Writing to a file using writeFile or writeFileSync](/book_pages/chapter4/section4.11.md)
- [Section 4.12: Changing contents of a text file](/book_pages/chapter4/section4.12.md)
- [Section 4.13: Deleting a file using unlink or unlinkSync](/book_pages/chapter4/section4.13.md)
- [Section 4.14: Reading a file into a Buer using streams](/book_pages/chapter4/section4.14.md)
* Chapter 5: Exporting and Consuming Modules
- [Section 5.1: Creating a hello-world.js module](/book_pages/chapter5/section5.1.md)
- [Section 5.2: Loading and using a module](/book_pages/chapter5/section5.2.md)
- [Section 5.3: Folder as a module](/book_pages/chapter5/section5.3.md)
- [Section 5.4: Every module injected only once](/book_pages/chapter5/section5.4.md)
- [Section 5.5: Module loading from node_modules](/book_pages/chapter5/section5.5.md)
- [Section 5.6: Building your own modules](/book_pages/chapter5/section5.6.md)
- [Section 5.7: Invalidating the module cache](/book_pages/chapter5/section5.7.md)
* Chapter 6: Exporting and Importing Module in node.js
- [Section 6.1: Exporting with ES6 syntax](/book_pages/chapter6/section6.1.md)
- [Section 6.2: Using a simple module in node.js](/book_pages/chapter6/section6.2.md)
* Chapter 7: How modules are loaded
- [Section 7.1: Global Mode](/book_pages/chapter7/section7.1.md)
- [Section 7.2: Loading modules](/book_pages/chapter7/section7.2.md)
* Chapter 8: Cluster Module
- [Section 8.1: Hello World](/book_pages/chapter8/section8.1.md)
- [Section 8.2: Cluster Example](/book_pages/chapter8/section8.2.md)
* Chapter 9: Readline
- [Section 9.1: Line-by-line file reading](/book_pages/chapter9/section9.1.md)
- [Section 9.2: Prompting user input via CLI](/book_pages/chapter9/section9.2.md)
* Chapter 10: package.json
- [Section 10.1: Exploring package.json](/book_pages/chapter10/section10.1.md)
- [Section 10.2: Scripts](/book_pages/chapter10/section10.2.md)
- [Section 10.3: Basic project definition](/book_pages/chapter10/section10.3.md)
- [Section 10.4: Dependencies](/book_pages/chapter10/section10.4.md)
- [Section 10.5: Extended project definition](/book_pages/chapter10/section10.5.md)
* Chapter 11: Event Emitters
- [Section 11.1: Basics](/book_pages/chapter11/section11.1.md)
- [Section 11.2: Get the names of the events that are subscribed to](/book_pages/chapter11/section11.2.md)
- [Section 11.3: HTTP Analytics through an Event Emitter](/book_pages/chapter11/section11.3.md)
- [Section 11.4: Get the number of listeners registered to listen for a specific event](/book_pages/chapter11/section11.4.md)
* Chapter 12: Autoreload on changes
- [Section 12.1: Autoreload on source code changes using nodemon](/book_pages/chapter12/section12.1.md)
- [Section 12.2: Browsersync](/book_pages/chapter12/section12.2.md)
* Chapter 13: Environment
- [Section 13.1: Accessing environment variables](/book_pages/chapter13/section13.1.md)
- [Section 13.2: process.argv command line arguments](/book_pages/chapter13/section13.2.md)
- [Section 13.3: Loading environment properties from a "property file"](/book_pages/chapter13/section13.3.md)
- [Section 13.4: Using dierent Properties/Configuration for different environments like dev, qa, staging etc](/book_pages/chapter13/section13.4.md)
* Chapter 14: Callback to Promise
- [Section 14.1: Promisifying a callback](/book_pages/chapter14/section14.1.md)
- [Section 14.2: Manually promisifying a callback](/book_pages/chapter14/section14.2.md)
- [Section 14.3: setTimeout promisified](/book_pages/chapter14/section14.3.md)
* Chapter 15: Executing files or commands with Child Processes
- [Section 15.1: Spawning a new process to execute a command](/book_pages/chapter15/section15.1.md)
- [Section 15.2: Spawning a shell to execute a command](/book_pages/chapter15/section15.2.md)
- [Section 15.3: Spawning a process to run an executable](/book_pages/chapter15/section15.3.md)
* Chapter 16: Exception handling
- [Section 16.1: Handling Exception In Node.Js](/book_pages/chapter16/section16.1.md)
- [Section 16.2: Unhanded Exception Management](/book_pages/chapter16/section16.2.md)
- [Section 16.3: Errors and Promises](/book_pages/chapter16/section16.3.md)
* Chapter 17: Keep a node application constantly running
- [Section 17.1: Use PM2 as a process manager](/book_pages/chapter17/section17.1.md)
- [Section 17.2: Running and stopping a Forever daemon](/book_pages/chapter17/section17.2.md)
- [Section 17.3: Continuous running with nohup](/book_pages/chapter17/section17.3.md)
* Chapter 18: Uninstalling Node.js
- [Section 18.1: Completely uninstall Node.js on Mac OSX](/book_pages/chapter18/section18.1.md)
- [Section 18.2: Uninstall Node.js on Windows](/book_pages/chapter18/section18.2.md)
* Chapter 19: nvm - Node Version Manager
- [Section 19.1: Install NVM](/book_pages/chapter19/section19.1.md)
- [Section 19.2: Check NVM version](/book_pages/chapter19/section19.2.md)
- [Section 19.3: Installing an specific Node version](/book_pages/chapter19/section19.3.md)
- [Section 19.4: Using an already installed node version](/book_pages/chapter19/section19.4.md)
- [Section 19.5: Install nvm on Mac OSX](/book_pages/chapter19/section19.5.md)
- [Section 19.6: Run any arbitrary command in a subshell with the desired version of node](/book_pages/chapter19/section19.6.md)
- [Section 19.7: Setting alias for node version](/book_pages/chapter19/section19.7.md)
* Chapter 20: http
- [Section 20.1: http server](/book_pages/chapter20/section20.1.md)
- [Section 20.2: http client](/book_pages/chapter20/section20.2.md)
* Chapter 21: Using Streams
- [Section 21.0: Streams Type](/book_pages/chapter21/section21.0.md)
- [Section 21.1: Read Data from TextFile with Streams](/book_pages/chapter21/section21.1.md)
- [Section 21.2: Piping streams](/book_pages/chapter21/section21.2.md)
- [Section 21.3: Creating your own readable/writable stream](/book_pages/chapter21/section21.3.md)
- [Section 21.4: Why Streams?](/book_pages/chapter21/section21.4.md)
* Chapter 22: Deploying Node.js applications in production
- [Section 22.1: Setting NODE_ENV="production"](/book_pages/chapter22/section22.1.md)
- [Section 22.2: Manage app with process manager](/book_pages/chapter22/section22.2.md)
- [Section 22.3: Deployment using process manager](/book_pages/chapter22/section22.3.md)
- [Section 22.4: Deployment using PM2](/book_pages/chapter22/section22.4.md)
- [Section 22.5: Using dierent Properties/Configuration for different environments like dev, qa, staging etc](/book_pages/chapter22/section22.5.md)
- [Section 22.6: Taking advantage of clusters](/book_pages/chapter22/section22.6.md)
* Chapter 23: Securing Node.js applications
- [Section 23.1: SSL/TLS in Node.js](/book_pages/chapter23/section23.1.md)
- [Section 23.2: Preventing Cross Site Request Forgery (CSRF)](/book_pages/chapter23/section23.2.md)
- [Section 23.3: Setting up an HTTPS server](/book_pages/chapter23/section23.3.md)
- [Section 23.4: Using HTTPS](/book_pages/chapter23/section23.4.md)
- [Section 23.5: Secure express.js 3 Application](/book_pages/chapter23/section23.5.md)
* Chapter 24: Mongoose Library
- [Section 24.1: Connect to MongoDB Using Mongoose](/book_pages/chapter24/section24.1.md)
- [Section 24.2: Find Data in MongoDB Using Mongoose, Express.js Routes and $text Operator](/book_pages/chapter24/section24.2.md)
- [Section 24.3: Save Data to MongoDB using Mongoose and Express.js Routes](/book_pages/chapter24/section24.3.md)
- [Section 24.4: Find Data in MongoDB Using Mongoose and Express.js Routes](/book_pages/chapter24/section24.4.md)
- [Section 24.5: Useful Mongoose functions](/book_pages/chapter24/section24.5.md)
- [Section 24.6: Indexes in models](/book_pages/chapter24/section24.6.md)
- [Section 24.7: find data in mongodb using promises](/book_pages/chapter24/section24.7.md)
* Chapter 25: async.js
- [Section 25.1: Parallel : multi-tasking](/book_pages/chapter25/section25.1.md)
- [Section 25.2: async.each(To handle array of data effciently)](/book_pages/chapter25/section25.2.md)
- [Section 25.3: Series : independent mono-tasking](/book_pages/chapter25/section25.3.md)
- [Section 25.4: Waterfall : dependent mono-tasking](/book_pages/chapter25/section25.4.md)
- [Section 25.5: async.times(To handle for loop in better way)](/book_pages/chapter25/section25.5.md)
- [Section 25.6: async.series(To handle events one by one)](/book_pages/chapter25/section25.6.md)
* Chapter 26: File upload
- [Section 26.1: Single File Upload using multer](/book_pages/chapter26/section26.1.md)
- [Section 26.2: Using formidable module](/book_pages/chapter26/section26.2.md)
* Chapter 27: Socket.io communication
- [Section 27.1: "Hello world!" with socket messages](/book_pages/chapter27/section27.1.md)
*
Chapter 28: Mongodb integration
- [Section 28.1: Simple connect](/book_pages/chapter28/section28.1.md)
- [Section 28.2: Simple connect, using promises](/book_pages/chapter28/section28.2.md)
- [Section 28.3: Connect to MongoDB](/book_pages/chapter28/section28.3.md)
- [Section 28.4: Insert a document](/book_pages/chapter28/section28.4.md)
- [Section 28.5: Read a collection](/book_pages/chapter28/section28.5.md)
- [Section 28.6: Update a document](/book_pages/chapter28/section28.6.md)
- [Section 28.7: Delete a document](/book_pages/chapter28/section28.7.md)
- [Section 28.8: Delete multiple documents](/book_pages/chapter28/section28.8.md)
* Chapter 29: Handling POST request in Node.js
- [Section 29.1: Sample node.js server that just handles POST requests](/book_pages/chapter29/section29.1.md)
* Chapter 30: Simple REST based CRUD API
- [Section 30.1: REST API for CRUD in Express 3+](/book_pages/chapter30/section30.1.md)
* Chapter 31: Template frameworks
- [Section 31.1: Nunjucks](/book_pages/chapter31/section31.1.md)
* Chapter 32: Node.js Architecture & Inner Workings
- [Section 32.1: Node.js - under the hood & Node.js - in motion](/book_pages/chapter32/section32.1.md)
* Chapter 33: Debugging Node.js application
- [Section 33.1: Core node.js debugger and node inspector](/book_pages/chapter33/section33.1.md)
* Chapter 34: Node server without framework
- [Section 34.1: Framework-less node server](/book_pages/chapter34/section34.1.md)
- [Section 34.2: Overcoming CORS Issues](/book_pages/chapter34/section34.2.md)
* Chapter 35: Node.JS with ES6
- [Section 35.1: Node ES6 Support and creating a project with Babel](/book_pages/chapter35/section35.1.md)
- [Section 35.2: Use JS es6 on your NodeJS app](/book_pages/chapter35/section35.2.md)
* Chapter 36: Interacting with Console
- [Section 36.1: Logging](/book_pages/chapter36/section36.1.md)
* Chapter 37: Cassandra Integration
- [Section 37.1: Hello world](/book_pages/chapter37/section37.1.md)
* Chapter 38: Creating API's with Node.js
- [Section 38.1: GET api using Express](/book_pages/chapter38/section38.1.md)
- [Section 38.2: POST api using Express](/book_pages/chapter38/section38.2.md)
* Chapter 39: Graceful Shutdown
- [Section 39.1: Graceful Shutdown - SIGTERM](/book_pages/chapter39/section39.1.md)
* Chapter 40: Using IISNode to host Node.js Web Apps in IIS
- [Section 40.1: Using an IIS Virtual Directory or Nested Application via ](/book_pages/chapter40/section40.1.md)
- [Section 40.2: Getting Started](/book_pages/chapter40/section40.2.md)
- [Section 40.3: Basic Hello World Example using Express](/book_pages/chapter40/section40.3.md)
- [Section 40.4: Using Socket.io with IISNode](/book_pages/chapter40/section40.4.md)
* Chapter 41: CLI
- [Section 41.1: Command Line Options](/book_pages/chapter41/section41.1.md)
* Chapter 42: NodeJS Frameworks
- [Section 42.1: Web Server Frameworks](/book_pages/chapter42/section42.1.md)
- [Section 42.2: Command Line Interface Frameworks](/book_pages/chapter42/section42.2.md)
* Chapter 43: grunt
- [Section 43.1: Introduction To GruntJs](/book_pages/chapter43/section43.1.md)
- [Section 43.2: Installing gruntplugins](/book_pages/chapter43/section43.2.md)
* Chapter 44: Using WebSocket's with Node.JS
- [Section 44.1 to 44.4](/book_pages/chapter44/section44.md)
* Chapter 45: metalsmith
- [Section 45.1: Build a simple blog](/book_pages/chapter45/section45.1.md)
* Chapter 46: Parsing command line arguments
- [Section 46.1: Passing action (verb) and values](/book_pages/chapter46/section46.1.md)
- [Section 46.2: Passing boolean switches](/book_pages/chapter46/section46.2.md)
* Chapter 47: Client-server communication
- [Section 47.1: /w Express, jQuery and Jade](/book_pages/chapter47/section47.1.md)
* Chapter 48: Node.js Design Fundamental
- [Section 48.1: The Node.js philosophy](/book_pages/chapter48/section48.1.md)
* Chapter 49: Connect to Mongodb
- [Section 49.1: Simple example to Connect mongoDB from Node.JS](/book_pages/chapter49/section49.1.md)
- [Section 49.2: Simple way to Connect mongoDB with core Node.JS](/book_pages/chapter49/section49.2.md)
* Chapter 50: Performance challenges
- [Section 50.1: Processing long running queries with Node](/book_pages/chapter50/section50.1.md)
* Chapter 51: Send Web Notification
- [Section 51.1: Send Web notification using GCM ( Google Cloud Messaging System)](/book_pages/chapter51/section51.1.md)
* Chapter 52: Remote Debugging in Node.JS
- [Section 52.1 to 52.3](/book_pages/chapter52/section52.1.md)
* Chapter 53: Database (MongoDB with Mongoose)
- [Section 53.1: Mongoose connection](/book_pages/chapter53/section53.1.md)
- [Section 53.2: Model](/book_pages/chapter53/section53.2.md)
- [Section 53.3: Insert data](/book_pages/chapter53/section53.3.md)
- [Section 53.4: Read data](/book_pages/chapter53/section53.4.md)
* Chapter 54: Good coding style
- [Section 54.1: Basic program for signup](/book_pages/chapter54/section54.1.md)
* Chapter 55: Restful API Design: Best Practices
- [Section 55.1: Error Handling: GET all resources](/book_pages/chapter55/section55.1.md)
* Chapter 56: Deliver HTML or any other sort of file
- [Section 56.1: Deliver HTML at specified path](/book_pages/chapter56/section56.1.md)