Hi, I'm Subham Maity, a software engineer. I also enjoy teaching others how to code through my tutorials. I'm always eager to learn new things and share my knowledge with the community.
⚡ I recently wrote an article on What is Node.js and wanted to share it with you all. You can find the article on my website https://codexam.vercel.app/docs/node/node1 [Better View]
⚡ I also have a repository on GitHub where you can find all the code and projects related to this topic. You can find the repository at https://github.com/Subham-Maity/node-js-full-stack-tutorial
❗ For a more in-depth look at this topic, including a detailed table of contents, check out the complete tutorial on my GitHub Repo
If you want to stay updated with my latest projects and articles, you can follow me on:
In this article, for sure you will get many boring theory but trust me day by day you will fall in love with Node.js and you will be able to understand the theory behind it.
- Node is not a Language.
- This is a Server Environment.
Node.js can connect with the database.
Node.js is free and open-source.
⭐ Why do we use Node?
- Node.js is commonly used for building APIs.
- Node.js allows for seamless connection of databases to web and mobile applications.
- Node.js is incredibly fast for building APIs.
⭐ History of Node.js
- First Release: Node was first released on May 27, 2009 by Ryan Dahl, who was inspired by the event-driven and non-blocking I/O model of web browsers.
- Current Version: The latest stable version of Node is 17.2.0, which was released on December 7, 2021. Node follows a semver (semantic versioning) scheme and releases a new major version every six months, with even-numbered versions receiving long-term support (LTS).
For more information, you can visit the Node official website, the Node GitHub repository, or the Node documentation.
Node can connect with DB: Node.js can connect to a database, as it has many modules and libraries that support various types of databases, such as MongoDB, MySQL, PostgreSQL, etc. You can use the native Node.js modules, such as
mongodb, or use a third-party framework or library, such as
sequelize, to connect to a database using Node.js.
Node.js runs on the server-side: Node.js is designed to run on the server-side, which means that it can handle requests from clients, process data, perform computations, and send responses back to the clients. Node.js can also act as a web server, using modules such as
|Database Connection||Cannot connect to a database by itself, needs a third-party framework or library.||Can connect to a database, has many modules and libraries that support various types of databases.|
|Execution Environment||Mainly runs on the browser, can also run on other platforms using frameworks.||Runs on the server-side, can also act as a web server using modules.|
Top comments (0)