Skip to content

What is Node.js? JavaScript on the server

Node.js is a runtime that executes JavaScript outside the browser, built on the V8 engine. It shines for HTTP APIs, CLI tools, realtime (WebSockets), and front-end pipelines. Its non-blocking async model fits heavy I/O; the npm ecosystem offers modules for almost every light-to-medium backend need.

In one sentence

Node.js runs JavaScript on the server—APIs, tools, and realtime.

Key points

  • V8 + libuv runtime, async event loop.
  • npm: largest package registry.
  • Great for I/O (APIs, streaming); less natural for heavy CPU.
  • Foundation for Nest, Express, Fastify, Next.js server.

Term at a glance

Node.js
Node · Server-side JS · Node runtime
English term
Node.js
Domain
Technologies
Category
Runtimes
Level
Beginner to intermediate

What does “Node.js” mean exactly?

Before Node, JS was mostly browser-side. Node enabled full-stack JS and unified front/back skills.

The event loop handles thousands of concurrent connections without a thread per request.

For an SME, Node speeds BFFs and JSON APIs talking to React apps.

How do you build with Node.js?

  1. 01

    Pick a framework

    Express/Fastify for simple; Nest for enterprise structure.

  2. 02

    Structure the project

    Route/service layers, validation, env-based config.

  3. 03

    Secure it

    Helmet, auth, rate limits, audited deps.

  4. 04

    Observe

    Structured logs, metrics, health checks.

Concrete Node.js example

A Montreal B2B marketplace exposes a Node/Fastify API: catalog, cart, Stripe webhooks. WebSockets push order status. The same React team maintains API and front end.

What is Node.js for?

REST/GraphQL APIs

JSON backends for SPAs and mobile.

Realtime

Chat, notifications, collaboration.

Front-end tooling

Bundlers, linters, CI scripts.

Serverless / edge

JS functions on major clouds.

Pros and cons of Node.js

  • One language front/back
  • npm ecosystem
  • Strong I/O performance
  • Simple cloud deploy
  • Less ideal CPU-bound
  • Async model to master
  • Variable npm quality
  • TypeScript recommended

Node.js vs Python backend?

Node.jsPython (backend)
LanguageJavaScript/TypeScriptPython
StrengthConcurrent I/O, JSON APIsData, ML, scientific scripts
Web ecosystemnpm + JS frameworksDjango/FastAPI/Flask
Web talentOften shared with front endOften separate data/back teams

Why Node.js matters for a Quebec SME

Sharing JS skills cuts team cost. Node is a pragmatic choice for product APIs and portals—especially if you already run React/Next.

FAQ

Does Node replace a database?

No. Node orchestrates; Postgres/Mongo store.

TypeScript with Node?

Strongly recommended as the project grows.

Is Node production-safe?

Yes with a process manager, fresh deps, and AppSec practices.

Deno or Bun?

Alternatives; Node remains the most deployed standard.

Related terms

Sources and references

Want a solid Node API behind your React app? We can scope stack and security.

Talk about Node.js
Glossary