JoinToMe LogoJoinToMe
Contact Us
Home > Blog > Backend > Getting Started with Node.js
Getting Started with Node.js

Getting Started with Node.js

✍️ Yatin Sonar, Backend Engineer2025-08-20

Node.js is a JavaScript runtime built on Chrome's V8 engine. It allows developers to run JavaScript outside the browser and is widely used for backend services.

Step 1: Install Node.js

Download from nodejs.org and verify with node -v.

Step 2: Initialize a Project

mkdir my-app
cd my-app
npm init -y

Step 3: Create Your First Server

const http = require('http');

const server = http.createServer((req, res) => {
  res.write('Hello, Node.js!');
  res.end();
});

server.listen(3000, () => console.log('Server running on port 3000'));

Why Node.js?

  • Non-blocking I/O
  • Huge ecosystem (npm)
  • Great for APIs & microservices

Congratulations — you’ve just built your first Node.js server!