Node.js

How To Use PostgreSQL With Node.js on Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

How To Use PostgreSQL With Node.js on Ubuntu 20.04

The Node.js ecosystem provides a set of tools for interfacing with databases. One of those tools is _node-postgres_, which contains modules that allow Node.js to interface with the PostgreSQL database. In this tutorial, you’ll use `node-postgres` to connect and query the PostgreSQL database. You will then connect your application to the Postgres database using the `node-postgres` module. Afterwards, you will use `node-postgres` to insert, retrieve, and modify data in the PostgreSQL database.

Read more
Настройка приложения Node.js для работы в среде Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

Настройка приложения Node.js для работы в среде Ubuntu 18.04

Node.js — среда исполнения JavaScript с открытым исходным кодом, предназначенная для построения серверных и сетевых приложений. Данная платформа работает в операционных системах Linux, macOS, FreeBSD и Windows. Хотя вы можете запускать приложения Node.js…

Read more
Comment redémarrer vos applications Node.js automatiquement avec nodemon — step-by-step DevOps tutorial on Progressive Robot

Comment redémarrer vos applications Node.js automatiquement avec nodemon

Sous Node.js, vous devez redémarrer le processus pour que les changements prennent effet, une étape supplémentaire qui s’ajoute à votre flux de travail pour que les modifications soient implémentées. Vous pouvez éviter cette étape supplémentaire en utilisant nodemon qui se chargera de redémarrer le processus automatiquement. Cet article vous permettra d’en apprendre davantage sur l’installation, le réglage et la configuration de nodemon.

Read more
Comment créer un module Node.js — step-by-step Javascript tutorial on Progressive Robot

Comment créer un module Node.js

L’auteur a choisi le Open Internet/Free Speech Fund pour recevoir un don dans le cadre du programme Write for DOnations. Dans Node.js, un module est une collection de fonctions et…

Read more
How To Automate Your Node.js Production Deployments with Shipit on CentOS 7 — step-by-step Linux tutorial on Progressive Robot

How To Automate Your Node.js Production Deployments with Shipit on CentOS 7

Shipit is a universal automation and deployment tool for Node.js developers. It features a task flow based on the popular Orchestrator package, login and interactive SSH commands through OpenSSH, and an extensible API. Developers can use Shipit to automate build and deployment workflows for a wide range of Node.js applications. In this tutorial you will install and configure Shipit to deploy a basic Node.js application from your local development environment to your product environment.

Read more
How To Set Up a GraphQL API Server in Node.js — step-by-step Javascript tutorial on Progressive Robot

How To Set Up a GraphQL API Server in Node.js

In this tutorial, you’ll make an Express API server in Node.js that serves up a GraphQL endpoint. You will also build a GraphQL schema based on the GraphQL type system, including operations such as queries and mutations, as well as resolver functions to generate responses for any requests. You will also use the GraphiQL integrated development environment (IDE) to explore and debug your schema and query the GraphQL API from a client.

Read more
CHAT