Node.js

How To Build a "Hello World" Application with Koa — step-by-step DevOps tutorial on Progressive Robot

How To Build a “Hello World” Application with Koa

Koa is a web framework created by the team behind Express. It aims to be a modern and more minimalist version of Express. Some of its characteristics are its support and reliance on new JavaScript features such as generators and async/await. Koa also does not ship with any middleware though it can be extended using custom and existing plugins. By following this article, you will learn more about the Koa framework and build an app to get familiar with its functionality and philosophy.

Read more
How To Implement Caching in Node.js Using Redis — step-by-step Databases tutorial on Progressive Robot

How To Implement Caching in Node.js Using Redis

Redis is an in-memory database that stores data in the server memory and a popular tool to cache data. You can connect to Redis in Node.js using the node-redis module, which gives you methods to retrieve and store data in Redis. You’ll build an Express app to retrieve data from a RESTful API using the axios module, modifying the app to store the data in Redis using the node-redis module. You will also use Express middleware to cache data.

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
How To Build Command Line Applications with Node.js — step-by-step Javascript tutorial on Progressive Robot

How To Build Command Line Applications with Node.js

As a developer, chances are you spend most of your time in your terminal, typing in commands to help you get around some tasks. Some of these commands come built into your Operating System, while some of them you install through some third party helper such as npm, or brew, or even downloading…

Read more
CHAT