Articles

Node.js: what it is and how we use it

Node.js lets you write the server side of an application in JavaScript. It handles APIs, form processing and connections to databases and other systems.

Cabling and fans inside a server
Photo: Thomas Kvistholt freeche, CC0, Wikimedia Commons

1. How it works

Node.js lets you run JavaScript outside the browser, on a server. It suits APIs, form processing, scheduled jobs and connecting systems. It uses the same language as the front end, so development comes together.

2. Why it matters to a business

For a business it is the way to make a site or application do more than display pages: send emails, store orders or exchange data with accounting software.

3. How we use it

We use it for the APIs and automation that a site or application needs in the background.

4. When it fits

It fits when a site needs to handle forms, payments or connections to other systems.

5. What to watch for

A server has to be watched and updated, otherwise it becomes a weak spot.

6. In practice

We deploy Node.js on the server side: handling forms, sending emails, connecting to a payment gateway or an accounting system. We use the same language as on the web, so the code is uniform and easier to maintain.

7. Alternatives

A server can also be written in PHP, Python, Java or Go. Each has its strengths, and the fit depends on the task and on who will maintain the code. Node.js is an advantage when the rest of the project is in JavaScript.

8. Common questions

Does my site need a Node.js server?

Only if it does more than show pages, such as processing an order. A purely informational site does not need it.

Is Node.js secure?

Security depends on how it is used. What matters is keeping libraries updated and not giving the server more permissions than it needs.

Who looks after the server?

On request we manage it, including updates, backups and outage monitoring. It can also be handed to your in-house IT.

If you need help with this, take a look at our Software development.

Related articles

Send us your web address.

In two days you get one page back.

Free, no obligation. We do not need access to any of your accounts.

How we handle your data

Matyáš Musela · 733 230 308 · Filip Berčík · 774 915 200 · aetheron@aetheron.cz · Prague

  1. What people in your trade actually search for

  2. How much of it reaches you today

  3. What we would do first, and why