Node.js

How to Use Node.js and Github Webhooks to Keep Remote Projects in Sync — step-by-step Linux tutorial on Progressive Robot

How to Use Node.js and Github Webhooks to Keep Remote Projects in Sync

In this guide you will develop a Node.js server that listens for a GitHub webhook notification whenever you or someone else pushes code to GitHub. This script will automatically update a repository on a remote server with the most recent version of the code, eliminating the need to log in to a server to pull new commits.

Read more
How To Use Winston to Log Node.js Applications on Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

How To Use Winston to Log Node.js Applications on Ubuntu 20.04

Winston is a versatile logging library and a popular logging solution available for Node.js applications. Winston’s features include support for multiple storage options, log levels, log queries, and a built-in profiler. In this tutorial, you will use Winston to log a Node/Express application that you’ll create as part of this process. You’ll also see how to combine Winston with Morgan, another popular HTTP request middleware logger for Node.js.

Read more
Typescriptでノードプロジェクトをセットアップする方法 — step-by-step Javascript tutorial on Progressive Robot

Typescriptでノードプロジェクトをセットアップする方法

サーバーサイドJavaScriptの記述は、コードベースが肥大化していくので困難な作業です。TypeScriptは、大規模なJavaScriptプロジェクトの構築・管理に役立つ型付け(オプション)スーパーセットです。これは強力な静的型付け、コンパイル、オブジェクト指向プログラミングなどの追加機能を持つJavaScriptとも考えられます。このチュートリアルでは、[Express](https://expressjs.com/)フレームワークのTypeScriptとの併用方法を説明します。

Read more
What is Node.js? — step-by-step Javascript tutorial on Progressive Robot

What is Node.js?

Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript engine. It allows programmers to create fast, scaleable, back-end JavaScript applications. The asynchronous and event-driven nature of Node.js makes it well suited for creating applications that can handle many connections at once, a common task for web servers and other back-end applications.

Read more
CHAT