Basics Of Nodejs: A Complete Roadmap To Learn

BASICS OF NODEJS: A ROADMAP TO LEARN

BASICS OF NODEJS: A ROADMAP TO LEARN
  • About Nodejs
  • History and releases
  • Nodejs architecture
  • Stalling Nodejs
  • NPM (Node Package Manager)
  • JSON File
  • Nodejs Basics
  • File System
  • Events
  • HTTP Modules
  • Frameworks
  • Databases

ABOUT NODEJS

Nodejs is an open-source server-side runtime environment that runs on built on Google Chrome V8 JavaScript engine. It provides an event-driven, non-blocking input/output system and cross-platform runtime environment for building highly reliable and scalable server-side applications using JavaScript.

HISTORY AND RELEASES

Nodejs was initially implemented in the year 2009 by Ryan Dahl. Within a short span of time(i.e. 10 years), Nodejs has grabbed an irreplaceable position in the web application development sector.

NODEJS ARCHITECTURE

Nodejs uses Single-threaded Even-Loop Model Architecture, that allows all the client request in Nodejs are executed by a single-thread operation. It is not just as single-threaded but event-driven nature as well helps the Nodejs application to handle multiple client requests concurrently.

INSTALLING NODEJS

Moving to the next step from learning Nodejs, Installing this platform can be done with a simple procedure. To download the latest and stable version of Nodejs, just visit the official Nodejs site. But before you install, make sure that your machine has enough storage space and minimum RAM of 4 GB.

NPM(NODE PACKAGE MANAGER)

Once you are done with the installation procedure, the next step is to learn about NPM- Node Package Manager acts as the core of any Nodejs application that comes 750000+ bundle of packages.

JSON FILE

JSON File is an integral part of the Nodejs application development. Before start working on a Nodejs project, all you need is to create JSON as the first file. It is the manifest file that holds the metadata of the project.

NODEJS BASICS

Since Nodejs is a JavaScript framework, In to execute a simple “Hello world” in Nodejs, all you need to know the basics of concepts like variables, data types, operators, functions, etc in JavaScript.

FILE SYSTEM

This is a crucial step in Nodejs installation that allows us to read and write data into a file rather than on a console. Nodejs uses an fs module to access the physical file system from a directory.

EVENTS

Nodejs is most popular for its event-driven applications. Each Nodejs application is based on a single-threaded and perfect event-driven architecture that supports concurrency. You need an event module to create and handle custom events.

HTTP MODULES

HTTP’s modules are a key functionality in Nodejs which is highly used for developing server-based applications. With Nodejs, you can create an effective REST API using the HTTP module.

  • Express.js
  • Adonis.js
  • Meteor.js
  • Nest.js
  • Koa.js

DATABASE

As of now, you will know basic ideas to develop a whole functional Nodejs application. Running an application requires large storage of data in a database.

  • MySQL
  • MongoDB
  • Cassandra
  • Oracle
  • CouchDB

CONCLUSION

We hope that this “Basics of Nodejs: A complete roadmap to learn” blog helps you to learn the basics of Nodejs web development.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store