mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
Further Improvements in Node.js Roadmap. (#6666)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# --watch
|
||||
|
||||
The `--watch` flag in Node.js is a powerful feature introduced in Node.js version 19 that enables automatic reloading of your Node.js application whenever changes are detected in the specified files.
|
||||
The `--watch` flag in Node.js is a powerful feature introduced in Node.js version 19 that enables automatic reloading of your Node.js application whenever changes are detected in the specified files.
|
||||
|
||||
## How it works:
|
||||
## How it works
|
||||
|
||||
- You run your Node.js script with the --watch flag: node --watch your_script.js
|
||||
- You run your Node.js script with the `--watch` flag: `$ node --watch your_script.js`
|
||||
- Node.js starts watching the specified file (or directory) for changes.
|
||||
- Whenever a change is detected, Node.js automatically restarts the script
|
||||
|
||||
@@ -12,4 +12,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@Official Docs](https://nodejs.org/api/cli.html)
|
||||
- [@official@Node.js API Docs](https://nodejs.org/api/cli.html#--watch)
|
||||
- [@article@Watch Mode](https://medium.com/@khaled.smq/built-in-nodejs-watch-mode-52ffadaec8a8)
|
||||
- [@article@Medium - Watch Mode](https://medium.com/@khaled.smq/built-in-nodejs-watch-mode-52ffadaec8a8)
|
||||
|
||||
@@ -4,6 +4,6 @@ Axios is a promise-based HTTP Client for node.js and the browser. Used for makin
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Axios Official Documentations](https://axios-http.com/docs/intro)
|
||||
- [@article@Axios Official Documentation](https://axios-http.com/docs/intro)
|
||||
- [@video@Axios Tutorial](https://www.youtube.com/watch?v=6LyagkoRWYA)
|
||||
- [@feed@Explore top posts about Axios](https://app.daily.dev/tags/axios?ref=roadmapsh)
|
||||
|
||||
@@ -8,5 +8,5 @@ Using `console.log` to debug the code generally dives into an infinite loop of
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@What is Debugging?](https://en.wikipedia.org/wiki/Debugging)
|
||||
- [@official@Node.js Website](https://nodejs.org/en/learn/getting-started/debugging)
|
||||
- [@article@Wikipedia - What is Debugging?](https://en.wikipedia.org/wiki/Debugging)
|
||||
- [@official@Node.js - Getting Started](https://nodejs.org/en/learn/getting-started/debugging)
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
# EJS
|
||||
|
||||
EJS is a templating language or engine that allows you to generate HTML markup with pure JavaScript. And this is what makes it perfect for Nodejs applications.
|
||||
EJS is a template language or engine that allows you to generate HTML markup with pure JavaScript. And this is what makes it perfect for Nodejs applications.
|
||||
In simple words, the EJS template engine helps to easily embed JavaScript into your HTML template.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Ejs website](https://ejs.co/)
|
||||
- [@official@Ejs Official Documentations](https://ejs.co/#docs)
|
||||
- [@official@Ejs Official Package](https://www.npmjs.com/package/ejs)
|
||||
- [@official@EJS Website](https://ejs.co/)
|
||||
- [@official@EJS Official Documentation](https://ejs.co/#docs)
|
||||
- [@official@EJS Official Package](https://www.npmjs.com/package/ejs)
|
||||
- [@article@Try EJS Online](https://ionicabizau.github.io/ejs-playground/)
|
||||
- [@article@How to use EJS](https://www.digitalocean.com/community/tutorials/how-to-use-ejs-to-template-your-node-application)
|
||||
- [@article@Step-by-Step EJS Guide](https://codeforgeek.com/ejs-template-engine-in-nodejs/)
|
||||
|
||||
@@ -19,5 +19,5 @@ A semantic version number consists of three parts separated by dots:
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Semver.org](https://semver.org/)
|
||||
- [@article@Understanding Semantic Versioning](https://medium.com/codex/understanding-semantic-versioning-a-guide-for-developers-dad5f2b70583)
|
||||
- [@article@Devopedia](https://devopedia.org/semantic-versioning)
|
||||
- [@article@Medium - Understanding Semantic Versioning](https://medium.com/codex/understanding-semantic-versioning-a-guide-for-developers-dad5f2b70583)
|
||||
- [@article@Devopedia - Semver](https://devopedia.org/semantic-versioning)
|
||||
|
||||
@@ -6,6 +6,6 @@ The two most common testing approaches are unit testing and end-to-end testing.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Wikipedia](https://en.wikipedia.org/wiki/Software_testing)
|
||||
- [@article@Wikipedia - Software Testing](https://en.wikipedia.org/wiki/Software_testing)
|
||||
- [@official@Vitest](https://vitest.dev/)
|
||||
- [@official@Jest](https://jest.io)
|
||||
|
||||
@@ -8,5 +8,5 @@ These tools send your logs from your running application into a single location.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Debugging using APM ](https://stackify.com/node-js-debugging-tips/)
|
||||
- [@article@Debugging using APM](https://stackify.com/node-js-debugging-tips/)
|
||||
- [@feed@Explore top posts about APM](https://app.daily.dev/tags/apm?ref=roadmapsh)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Using debugger
|
||||
# Using Debugger
|
||||
|
||||
Node.js includes a command-line debugging utility. The Node.js debugger client is not a full-featured debugger, but simple stepping and inspection are possible. To use it, start Node.js with the inspect argument followed by the path to the script to debug.
|
||||
|
||||
@@ -6,4 +6,5 @@ Example - `$ node inspect myscript.js`
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Official Website](https://nodejs.org/api/debugger.html)
|
||||
- [@official@Official Docs](https://nodejs.org/api/debugger.html)
|
||||
- [@article@Freecodecamp.org - Debugging](https://www.freecodecamp.org/news/how-to-debug-node-js-applications/)
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
# What is Node.js
|
||||
|
||||
Node.js is an open-source and cross-platform JavaScript runtime environment. It is a popular tool for almost any kind of project! Node.js runs the V8 JavaScript engine, Google Chrome's core, outside the browser. This allows Node.js to be very performant. A Node.js app runs in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and generally, libraries in Node.js are written using non-blocking paradigms, making blocking behavior the exception rather than the norm.
|
||||
Node.js is an open-source and cross-platform JavaScript runtime environment. It is a popular tool for almost any kind of project! Node.js runs the V8 JavaScript engine, Google Chrome's core, outside the browser. This allows Node.js to be very performant. A Node.js app runs in a single process, without creating a new thread for every request.
|
||||
|
||||
Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and generally, libraries in Node.js are written using non-blocking paradigms, making blocking behavior the exception rather than the norm.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Official Website](https://nodejs.org/en/about/)
|
||||
- [@article@Node.JS Introduction](https://www.w3schools.com/nodejs/nodejs_intro.asp)
|
||||
- [@official@Official Website](https://nodejs.org/en/learn/getting-started/introduction-to-nodejs)
|
||||
- [@official@Node.js - Getting Started](https://nodejs.org/en/learn/getting-started/introduction-to-nodejs)
|
||||
- [@article@Node.js - Introduction](https://www.w3schools.com/nodejs/nodejs_intro.asp)
|
||||
- [@video@What is Node.js?](https://www.youtube.com/watch?v=uVwtVBpw7RQ)
|
||||
- [@video@How Node.js Works?](https://www.youtube.com/watch?v=jOupHNvDIq8)
|
||||
- [@feed@Explore top posts about Node.js](https://app.daily.dev/tags/nodejs?ref=roadmapsh)
|
||||
|
||||
@@ -4,4 +4,4 @@ A database is an organized collection of structured information, or data, typica
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Wikipedia](https://en.wikipedia.org/wiki/Database)
|
||||
- [@article@Wikipedia - What is Database?](https://en.wikipedia.org/wiki/Database)
|
||||
|
||||
Reference in New Issue
Block a user