How to create your first web application in Node.js

Gabriele de Capoa
1 min readApr 30, 2021

--

Photo by Radowan Nakif Rehan on Unsplash

Node.js is a language very powerful.
Written initially in 2009, it became rapidly one of the most used languages in cloud development world due to some factors.

  • It is based on Javascript, which is a language with a small learning curve
  • It is asynchronous
  • Well documented
  • Big library public registry (known as npm)
  • It is data intensive, lightweight and perfect on distributed devices

Unfortunately, the fact it is asynchronous it also one of the biggest blockers to the use of this language. For whom is coming from the sequential, imperative world, understanding the asynchronous logic could be difficult.
In addition, the fact it is based on Javascript, and built on Chrome’s V8 engine, even if the engine is written in C++ Node.js is not suitable for high computational programs. Anyway, if you are looking for a fast prototype development, or a web app, this language is perfect.

With few code lines, you could easily create a naive web application that returns an “Hello World” on the root path.

Originally published at https://gabriele-decapoa.github.io.

--

--

Gabriele de Capoa
Gabriele de Capoa

Written by Gabriele de Capoa

Cloud software engineer, wanna-be data scientist, former Scrum Master. Agile, DevOps, Kubernetes and SQL are my top topics.

No responses yet