Node.js

How To Set Up a Node.js Application for Production on Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

How To Set Up a Node.js Application for Production on Ubuntu 18.04

Node.js is an open-source JavaScript runtime environment for building server-side and networking applications. Node.js applications can be run at the command line but this guide focuses on running them as a service using PM2, so that they will automatically restart on reboot or failure, and can safely be used in a production environment.

Read more
How To Test a Node.js Module with Mocha and Assert — step-by-step Javascript tutorial on Progressive Robot

How To Test a Node.js Module with Mocha and Assert

Testing is an integral part of software development. With the right test setup, this process can be automated, saving a lot of time. In this article, you’ll write tests for a Node.js TODO list module. You will set up and use the Mocha test framework to structure a series of integration tests. Then you’ll use the Node.js assert module to create the tests themselves. Finally, you will try out testing with asynchronous code, and use hooks to prepare your test fixtures and environments.

Read more
How To Work With Zip Files in Node.js — step-by-step Javascript tutorial on Progressive Robot

How To Work With Zip Files in Node.js

Working with files is one of the common tasks among developers. As your files grow in size, they start taking significant space on your hard drive. To get around this, you can group the files into a single ZIP file. In Node.js, you can use the adm-zip module to create and read ZIP archives. This tutorial will walk you through how to use `adm-zip` module to compress, read, and decompress files.

Read more
Установка Node.js в Debian 9 — step-by-step Linux tutorial on Progressive Robot

Установка Node.js в Debian 9

Node.js — это платформа программирования JavaScript общего назначения, позволяющая пользователям быстро создавать сетевые приложения. Благодаря использованию JavaScript в клиентской и серверной части приложения Node.js делает процесс разработки более…

Read more
Cara Memulai Ulang Aplikasi Node.js secara Otomatis dengan nodemon — step-by-step DevOps tutorial on Progressive Robot

Cara Memulai Ulang Aplikasi Node.js secara Otomatis dengan nodemon

Dalam Node.js, Anda perlu memulai ulang proses untuk menerapkan perubahan. Ini menambah langkah ekstra ke alur kerja Anda demi menerapkan perubahan. Anda dapat menghilangkan langkah ekstra ini dengan nodemon untuk memulai ulang prosesnya secara otomatis. Dalam artikel ini, Anda akan mempelajari tentang menginstal, menyiapkan, dan mengonfigurasi nodemon.

Read more
CHAT