Node.js

How To Handle Asynchronous Tasks with Node.js and BullMQ — step-by-step Databases tutorial on Progressive Robot

How To Handle Asynchronous Tasks with Node.js and BullMQ

To avoid slowing down the request/response circle, you can use bullmq, a distributed task queue that allows you to offload time-consuming tasks from your Node.js app. To keep track of jobs, bullmq uses Redis to store a short description of each job in a queue. In this article, you will use bullmq to offload a time-consuming task into the background, which will enable an application to respond quickly to users.

Read more
How To Set Up a GraphQL Server in Node.js with Apollo Server and Sequelize — step-by-step Databases tutorial on Progressive Robot

How To Set Up a GraphQL Server in Node.js with Apollo Server and Sequelize

GraphQL is a specification and therefore language agnostic. When it comes GraphQL development with Node.js, there are various options available ranging from `graphql-js`, `express-graphql`, to `apollo-server`. In this tutorial, you will get a fully featured GraphQL server up and running in Node.js with Apollo Server. We will also see how to integrate a database with a GraphQL server using Sequelize.

Read more
How To Write Asynchronous Code in Node.js — step-by-step Javascript tutorial on Progressive Robot

How To Write Asynchronous Code in Node.js

With asynchronous programming, JavaScript and Node.js developers can execute other code while waiting for activities like network requests to finish. This can make writing API calls much more efficient. In this tutorial, you will learn how JavaScript manages asynchronous tasks with help from the Event Loop. You will then create a program that uses asynchronous programming written in three ways: with callbacks, promises, and the async/await keywords.

Read more
Ubuntu 20.04にNode.jsをインストールする方法 — step-by-step Linux tutorial on Progressive Robot

Ubuntu 20.04にNode.jsをインストールする方法

このガイドでは、Ubuntu 20.04サーバーにNode.jsをインストールする3種類の方法を示します。 ひとつは、Ubuntuのデフォルトのソフトウェアリポジトリからaptを使用してnodejsパッケージをインストールする方法、次に、代替PPAソフトウェアリポジトリからaptを使用して指定したバージョンのnodejsパッケージをインストールする方法、最後に、Nodeバージョンマネージャーをインストールし、これを使って複数のバージョンのnodejsをインストール・管理する方法について説明します。

Read more
How to Create a Blog with Hexo On Ubuntu 14.04 — step-by-step Linux tutorial on Progressive Robot

How to Create a Blog with Hexo On Ubuntu 14.04

Hexo is a static blogging framework built on Node.js which allows you to publish Markdown documents in the form of blog posts. All of the software in Hexo is modular, so you can install and set up exactly what you need. This tutorial will set up Hexo with deployment supported by GitHub and Nginx.

Read more
Node JS Environment Setup - Node.js installation — step-by-step Javascript tutorial on Progressive Robot

Node JS Environment Setup – Node.js installation

URL: https://www.progressiverobot.com/node-js-environment-setup-node-js-installation/ In my previous post, we have discussed about "[Introduction to Node JS Platform](/community/tutorials/introduction-to-node-js-basics "Introduction to Node JS – Node.js Basics")". Now we have some idea about what is Node JS and what is not Node JS. In this post, we will discuss about "How to setup Node JS Base Environment" in Windows OS […]

Read more
CHAT