diff --git a/content/roadmaps/107-nodejs/content/100-nodejs-introduction/101-why-nodejs.md b/content/roadmaps/107-nodejs/content/100-nodejs-introduction/101-why-nodejs.md index bf349cbc7..b2605c2a4 100644 --- a/content/roadmaps/107-nodejs/content/100-nodejs-introduction/101-why-nodejs.md +++ b/content/roadmaps/107-nodejs/content/100-nodejs-introduction/101-why-nodejs.md @@ -1,13 +1,9 @@ # Why Node.js -* Node.js is OpenSource -* Guarantees ease of scaling applications vertically by adding new resources to the existing node and horizontally with the addition of new nodes -* It facilitates building separate components that easily complement larger applications, which means saving money at the initial development stages and potentially shortening time-to-market, reusable code (some of the code can be used both on the front and backend) -* Tested on production (a lot of [companies use it](https://selleo.com/blog/10-successful-companies-using-nodejs) from the very beginning in 2009) -* offers improved performance thanks to Chrome’s V8 engine -* using JavaScript on both backend and frontend makes Node a great choice to improve speed and simplicity of implementation +Node.js is a cross-platform runtime, perfect for a wide range of use cases. Its huge community makes it easy to get started. It uses the V8 engine to compile JavaScript and runs at lightning-fast speeds. Node.js applications are very scalable and maintainable. Cross-platform support allows the creation of all kinds of applications - desktop apps, software as a service, and even mobile applications. Node.js is perfect for data-intensive and real-time applications since it uses an event-driven, non-blocking I/O model, making it lightweight and efficient. With such a huge community, a vast collection of Node.js packages is available to simplify and boost development. Free Content +Pros of Node.js Learn Node.js Why Choose Node.js? -5 Reasons to Choose Node.js +5 Reasons to Choose Node.js \ No newline at end of file diff --git a/content/roadmaps/107-nodejs/content/101-nodejs-modules/100-commonjs-vs-esm.md b/content/roadmaps/107-nodejs/content/101-nodejs-modules/100-commonjs-vs-esm.md index 8199c081a..17ede9aa8 100644 --- a/content/roadmaps/107-nodejs/content/101-nodejs-modules/100-commonjs-vs-esm.md +++ b/content/roadmaps/107-nodejs/content/101-nodejs-modules/100-commonjs-vs-esm.md @@ -1,10 +1,10 @@ # CommonJS vs ESM -A module system allows us to split up our code in different parts or to include code written by other developers. - -Since the very beginning of NodeJS, the CommonJS module system is the default module system within the ecosystem. However, recently a new module system was added to NodeJS - ES modules. +CommonJS and ES (EcmaScript) are module systems used in Node. CommonJS is the default module system. However, a new module system was recently added to NodeJS - ES modules. CommonJS modules use the require() statement for module imports and module.exports for module exports while it's import and export for ES. Free Content - -CommonJS vs. ES modules in Node.js -CommonJS vs. ES Modules: Modules and Imports in NodeJS \ No newline at end of file +CommonJS vs ESM +Using CommonJS +Using ES Modules +Using Modules +CommonJS vs. ES Modules: Modules and Imports in NodeJS diff --git a/content/roadmaps/107-nodejs/content/101-nodejs-modules/102-global-keyword.md b/content/roadmaps/107-nodejs/content/101-nodejs-modules/102-global-keyword.md index 901a42751..b5ca7f538 100644 --- a/content/roadmaps/107-nodejs/content/101-nodejs-modules/102-global-keyword.md +++ b/content/roadmaps/107-nodejs/content/101-nodejs-modules/102-global-keyword.md @@ -1,6 +1,8 @@ -# global Keyword +# global keyword -In browsers, the top-level scope is the global scope. This means that within the browser var something will define a new global variable. In Node.js this is different. The top-level scope is not the global scope; `var something` inside a Node.js module will be local to that module. +The global object gives access to some useful functions that can be used directly in our code. The global object, in contrast to the global object in a browser, is not the Window object. It is just an object called 'Global'. Free Content -global Keyword in Node.js \ No newline at end of file +Official Documentation +What is Global Object? +Global Object in Node diff --git a/content/roadmaps/107-nodejs/content/101-nodejs-modules/readme.md b/content/roadmaps/107-nodejs/content/101-nodejs-modules/readme.md index 1238623dd..a2602f1bb 100644 --- a/content/roadmaps/107-nodejs/content/101-nodejs-modules/readme.md +++ b/content/roadmaps/107-nodejs/content/101-nodejs-modules/readme.md @@ -1,7 +1,9 @@ -# Node.js Modules +# Node.js modules -CommonJS modules are the original way to package JavaScript code for Node.js. Node.js also supports the ECMAScript modules standard used by browsers and other JavaScript runtimes, they are the official standard format to package JavaScript code for reuse. +We split our code into different files to maintain, organize and reuse code whenever possible. A module system allows us to split and include code and import code written by other developers whenever required. In simple terms, a module is nothing but a JavaScript file. Node.js has many built-in modules that are part of the platform and comes with Node.js installation, for example, HTTP, fs, path, and more. Free Content -Modules: CommonJS modules -href='https://blog.logrocket.com/commonjs-vs-es-modules-node-js/'>CommonJS vs. ES modules in Node.js \ No newline at end of file +Official Documentation +More about modules +Using Modules +Modules in Node.js \ No newline at end of file diff --git a/content/roadmaps/107-nodejs/content/102-nodejs-npm/101-global-install-vs-local-install.md b/content/roadmaps/107-nodejs/content/102-nodejs-npm/101-global-install-vs-local-install.md index c4876b4bf..1d84ae6c6 100644 --- a/content/roadmaps/107-nodejs/content/102-nodejs-npm/101-global-install-vs-local-install.md +++ b/content/roadmaps/107-nodejs/content/102-nodejs-npm/101-global-install-vs-local-install.md @@ -6,4 +6,4 @@ NodeJS and NPM allow two methods of installing dependencies/packages: Local and Downloading and installing packages locally Downloading and installing packages globally NPM Install Docs -What is global installation of dependencies in Node.js ? +What is global installation of dependencies in Node.js ? \ No newline at end of file diff --git a/content/roadmaps/107-nodejs/content/102-nodejs-npm/102-updating-packages.md b/content/roadmaps/107-nodejs/content/102-nodejs-npm/102-updating-packages.md index 75e87a180..1987b68b9 100644 --- a/content/roadmaps/107-nodejs/content/102-nodejs-npm/102-updating-packages.md +++ b/content/roadmaps/107-nodejs/content/102-nodejs-npm/102-updating-packages.md @@ -1,6 +1,9 @@ # Updating Packages -Updating local and global packages you downloaded from the registry helps keep your code and tools stable, usable, and secure. +npm provides various features to help install and maintain the project's dependencies. Dependencies get updates with new features and fixes, so upgrading to a newer version is recommended. We use npm update commands for this. +Free Content +How to update? +Updating dependencies Free Content Updating packages downloaded from the registry diff --git a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md index 8fe6921c7..9104e9c80 100644 --- a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md +++ b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/103-async-await.md @@ -1,8 +1,10 @@ # Async/Await -An async function is a function declared with the async keyword, and the await keyword is permitted within it. The async and await keywords enable asynchronous, promise-based behavior to be written in a cleaner style, avoiding the need to explicitly configure promise chains. +Async/Await is a special syntax to work with promises in a more comfortable fashion. It's easy to understand and use. Adding the keyword async before a function ensures that the function returns a promise and the keyword await makes JavaScript wait until that promise settles and returns the result. Free Content -async/await mdn +Official Documentation +More on async await +Using async await W3Docs Async/Await Difference between Promise and Async/Await diff --git a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/readme.md b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/readme.md index 25a643f41..cf7aac1a4 100644 --- a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/readme.md +++ b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/readme.md @@ -1 +1,7 @@ -# Nodejs async programming \ No newline at end of file +# Nodejs async programming + +Asynchronous code means that things can happen independently of the main program flow, async functions in JavaScript are processed in the background without blocking other requests. It ensures non-blocking code execution. Asynchronous code executes without having any dependency and no order. This improves the system efficiency and throughput. Making web apps requires knowledge of asynchronous concepts since we will be dealing with actions that require some time to get processed. + +Free Content +Introduction to Async JS +Asynchronous Vs Synchronous Programming diff --git a/content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/100-fs-module.md b/content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/100-fs-module.md index 416872b50..b1540066d 100644 --- a/content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/100-fs-module.md +++ b/content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/100-fs-module.md @@ -1 +1,8 @@ -# Fs module \ No newline at end of file +# Fs module + +File System or fs module is a built in module in Node that enables interacting with the file system using JavaScript. All file system operations have synchronous, callback, and promise-based forms, and are accessible using both CommonJS syntax and ES6 Modules. + +Free Content +Official Documentation +More about fs module +Using fs diff --git a/content/roadmaps/107-nodejs/content/107-nodejs-apis/103-fastify.md b/content/roadmaps/107-nodejs/content/107-nodejs-apis/103-fastify.md index e9f203aa6..0431648f0 100644 --- a/content/roadmaps/107-nodejs/content/107-nodejs-apis/103-fastify.md +++ b/content/roadmaps/107-nodejs/content/107-nodejs-apis/103-fastify.md @@ -1 +1,8 @@ -# Fastify \ No newline at end of file +# Fastify + +Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture, inspired by Hapi and Express. + +Free Content +Fastify Website +Fastify Official Documentations +Beginner Fastify Tutorial diff --git a/content/roadmaps/107-nodejs/content/107-nodejs-apis/106-axios.md b/content/roadmaps/107-nodejs/content/107-nodejs-apis/106-axios.md index fd41e81cf..59a3a2204 100644 --- a/content/roadmaps/107-nodejs/content/107-nodejs-apis/106-axios.md +++ b/content/roadmaps/107-nodejs/content/107-nodejs-apis/106-axios.md @@ -1 +1,7 @@ -# Axios \ No newline at end of file +# Axios + +Axios is a promise-based HTTP Client for node.js and the browser. Used for making requests to web servers. On the server-side it uses the native node.js http module, while on the client (browser) it uses XMLHttpRequests. + +Free Content +Axios Official Documentations +Axios Tutorial diff --git a/content/roadmaps/107-nodejs/content/107-nodejs-apis/108-jsonwebtoken.md b/content/roadmaps/107-nodejs/content/107-nodejs-apis/108-jsonwebtoken.md index 3681c56f9..c36a0143c 100644 --- a/content/roadmaps/107-nodejs/content/107-nodejs-apis/108-jsonwebtoken.md +++ b/content/roadmaps/107-nodejs/content/107-nodejs-apis/108-jsonwebtoken.md @@ -4,3 +4,5 @@ JWT, or JSON-Web-Token, is an open standard for sharing security information bet Free Content Package Documentation +What is JWT +JWT Implementation diff --git a/content/roadmaps/107-nodejs/content/107-nodejs-apis/109-passport-js.md b/content/roadmaps/107-nodejs/content/107-nodejs-apis/109-passport-js.md index 164370e97..73cb11efb 100644 --- a/content/roadmaps/107-nodejs/content/107-nodejs-apis/109-passport-js.md +++ b/content/roadmaps/107-nodejs/content/107-nodejs-apis/109-passport-js.md @@ -1 +1,8 @@ -# Passport js \ No newline at end of file +# Passport js + +Passport.js is authentication middleware for Node.js. It makes implementing authetication in express apps really easy and fast. It is extremely flexible and modular. It uses "strategies" to support authentication using a username and password, Facebook, Twitter, and a lot of other sites. + +Free Content +PassportJS Website +PassportJS Official Documentation +Implemetaion of OAuth using passportjs diff --git a/content/roadmaps/107-nodejs/content/111-nodejs-testing/101-mocha.md b/content/roadmaps/107-nodejs/content/111-nodejs-testing/101-mocha.md index 404e73424..268c4c1fa 100644 --- a/content/roadmaps/107-nodejs/content/111-nodejs-testing/101-mocha.md +++ b/content/roadmaps/107-nodejs/content/111-nodejs-testing/101-mocha.md @@ -5,4 +5,4 @@ Mocha is an open source JavaScript test framework running on Nodejs and in the b Free Content Official Website Mocha Documentation -Mocha Tutorial +Mocha Tutorial \ No newline at end of file diff --git a/content/roadmaps/107-nodejs/content/111-nodejs-testing/102-cypress.md b/content/roadmaps/107-nodejs/content/111-nodejs-testing/102-cypress.md index c881065db..7ca1ebdd8 100644 --- a/content/roadmaps/107-nodejs/content/111-nodejs-testing/102-cypress.md +++ b/content/roadmaps/107-nodejs/content/111-nodejs-testing/102-cypress.md @@ -1 +1,7 @@ -# Cypress \ No newline at end of file +# Cypress + +Cypress is a new front end testing tool built for the modern web. It enables you to write faster, easier and more reliable tests. + +Free Content +Cypress Website +Cypress Documentation