Node.js

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

How To Set Up a Node.js Application for Production on CentOS 7

In this tutorial, we will cover setting up a production-ready Node.js environment that is composed of two CentOS 7 servers; one server will run Node.js applications managed by PM2, while the other will provide users with access to the application through an Nginx reverse proxy to the application server.

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

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

Node.js is an open-source JavaScript runtime environment for building server-side and networking applications. The platform runs on Linux, macOS, FreeBSD, and Windows. Though you can run Node.js applications at the command line, this tutorial will help you harden and deploy them in the background for a production configuration.

Read more
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
CHAT