Node.js

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

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

Node.js is an open source JavaScript runtime environment for easily 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 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
Introduction to New ECMAScript Modules in Node v12 — step-by-step DevOps tutorial on Progressive Robot

Introduction to New ECMAScript Modules in Node v12

If you’re familiar with popular JavaScript frontend frameworks like React and Angular, then the concept of ECMAScript won’t be entirely new to you. ES Modules have the `import` and `export` syntax we see often in frontend frameworks. **Node uses CommonJS which relies on `require()` for imports. We can now use import and export in Node in addition to `require()`. That’s not all that comes with the new Node v12 release, let’s talk about all the new cool features we can expect.

Read more
NodeJS Export and Import Modules — step-by-step Javascript tutorial on Progressive Robot

NodeJS Export and Import Modules

URL: https://www.progressiverobot.com/nodejs-export-and-import-modules/ In my previous posts, we have discussed about "[How to install Enide Studio 2014 IDE](/community/tutorials/node-js-basic-examples-with-node-cli-and-node-ide "Node JS Basic Examples With Node REPL (CLI) and Node IDE")" and also "How to create a Node JS Application". Before discussing about "How to create new Node JS Modules and How to reuse them in other Node […]

Read more
Como configurar um projeto de nó com o Typescript — step-by-step Javascript tutorial on Progressive Robot

Como configurar um projeto de nó com o Typescript

Escrever código JavaScript do lado do servidor pode ser uma tarefa desafiadora à medida que a base de código cresce. O TypeScript é um superconjunto tipado (opcional) de JavaScript que pode auxiliar na construção e gerenciamento de projetos em JavaScript em larga escala. Ele pode ser considerado um JavaScript com funcionalidades adicionais, tais como uma tipagem estática forte, compilação e programação orientada a objetos. Este tutorial irá explorar como usar o framework [Express](https://expres

Read more
So starten Sie Ihre Node.js-Apps automatisch mit nodemon neu — step-by-step DevOps tutorial on Progressive Robot

So starten Sie Ihre Node.js-Apps automatisch mit nodemon neu

In Node.js müssen Sie den Prozess neu starten, um Änderungen zu übernehmen. Dadurch wird Ihrem Workflow ein zusätzlicher Schritt hinzugefügt, um die Änderungen durchzuführen. Sie können diesen zusätzlichen Schritt durch Verwendung von nodemon eliminieren, um den Prozess automatisch neu zu starten. In diesem Artikel erfahren Sie mehr über die Installation, Einrichtung und Konfiguration von nodemon.

Read more
Cómo instalar Node.js en Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

Cómo instalar Node.js en Ubuntu 18.04

Node.js es una plataforma de JavaScript para programación general que permite a los usuarios crear aplicaciones de red de forma rápida. Al aprovechar JavaScript tanto en frontend como en backend, Node.js hace que el desarrollo sea más uniforme e…

Read more
CHAT