Install Node JS
Node JS is Chrome’s V8 engine for executing Javascript code directly on your machine without a browser. Before using Node JS, we need to install it on our local machine. For that, we can visit the official website of Node JS or directly download it from the given links.
We recommend that you download the LTS version. LTS stands for long-term stable version of NODE JS. Now download according to operating system installed in your machine.
- WINDOWS OS
https://nodejs.org/dist/v20.10.0/node-v20.10.0-x64.msi
- MAC OS
https://nodejs.org/dist/v20.10.0/node-v20.10.0.pkg
How to set up your Node.js and Express development environment?
In this article, we are going to learn how to set up your NODE JS and Express JS development environments. Node JS and Express JS development environments are used to write the code for the server side. Server-side code is responsible for handling HTTP requests and API endpoints of your application. When the client makes any request, the server-side code responds with data from the database.
Node JS is an open-source and cross-platform runtime environment built on Chrome’s V8 JavaScript engine for executing JavaScript code outside of a browser. It provides an event-driven, non-blocking (asynchronous) I/O and cross-platform runtime environment for building highly scalable server-side applications using JavaScript.
Express.js is a small framework that works on top of Node.js web server functionality to simplify its APIs and add helpful new features. It makes it easier to organize your application’s functionality with middleware and routing. It adds helpful utilities to Node.js HTTP objects and facilitates the rendering of dynamic HTTP objects.
Table of Content
- Install Node JS
- Install IDE (Integrated Development Environment)
- Initialize a project
- Install Express JS
- Implement a simple Program