Node.js

How To Deploy Node.js Applications Using Systemd and Nginx — step-by-step Linux tutorial on Progressive Robot

How To Deploy Node.js Applications Using Systemd and Nginx

When deploying a web application to a Droplet, it might be tempting to simply use the same kind of setup as is used in development, i.e. starting the server by running “ruby app.rb” or “node server.js” in a terminal. This is simple and easy, while providing visible logs.This is dangerous: what happens if the server crashes and no one is around to restart it? This tutorial uses a simple Node.js application, but is applicable to most, if not all, others as well (be they Ruby, Python, etc.)

Read more
How To Manage Monorepos With Lerna — step-by-step Javascript tutorial on Progressive Robot

How To Manage Monorepos With Lerna

Lerna is as a tool for managing JavaScript projects with multiple packages with features such as package bootstrapping, parallelized builds, and artifactory publication. In this tutorial, you will install Lerna, create a working directory, initialize a Lerna project, create a monorepo, bootstrap your packages, and add a dependency to the packages.

Read more
How To Use Winston to Log Node.js Applications on Ubuntu 16.04 — step-by-step Linux tutorial on Progressive Robot

How To Use Winston to Log Node.js Applications on Ubuntu 16.04

An effective logging solution is crucial to the success of any application. In this guide we’ll focus on a logging package called Winston, an extremely versatile logging library and the most popular logging solution available for Node.js applications based on NPM download statistics. This tutorial will show you how to use Winston to log a Node/Express application that we’ll create as part of this process.

Read more
Cómo crear un módulo Node.js — step-by-step Javascript tutorial on Progressive Robot

Cómo crear un módulo Node.js

El autor seleccionó a Open Internet/Free Speech Fund para recibir una donación como parte del programa Write for DOnations. En Node.js, un módulo es un conjunto de funciones y…

Read more
CHAT