Node.js

Einrichten eines Node-Projekts mit TypeScript — step-by-step Javascript tutorial on Progressive Robot

Einrichten eines Node-Projekts mit TypeScript

Das Schreiben von serverseitigem JavaScript kann schwierig sein, wenn eine Codebase wächst. TypeScript ist eine typisierte (optionale) Obermenge von JavaScript, die bei der Erstellung und Verwaltung großer JavaScript-Projekte helfen kann. Man kann es sich als JavaScript mit zusätzlichen Funktionen wie starker statischer Typisierung, Kompilierung und objektorientierter Programmierung vorstellen. In diesem Tutorial werden wir erkunden, wie das [Express](https://expressjs.com/)-Framework mit TypeSc

Read more
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 Build a GraphQL Server in Node.js Using GraphQL-yoga and MongoDB — step-by-step Databases tutorial on Progressive Robot

How To Build a GraphQL Server in Node.js Using GraphQL-yoga and MongoDB

Most applications today have the need to fetch data from a server where that data is stored in a database. GraphQL is a new API standard that provides a more efficient, powerful and flexible alternative to REST. It allows a client fetch only the data it needs from a server. This guide explainshow to use GraphQL in your Nodejs applications in place of REST.

Read more
Installieren von Node.js unter Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

Installieren von Node.js unter Ubuntu 20.04

Node.js ist eine JavaScript-Laufzeitumgebung für serverseitige Programmierung. Sie ermöglicht Entwicklern die Erstellung von skalierbaren Backend-Funktionen mit JavaScript, einer Sprache, die viele aus der Browser-basierten Webentwicklung bereits…

Read more
How To Test a Node.js Module with Mocha and Assert — step-by-step Javascript tutorial on Progressive Robot

How To Test a Node.js Module with Mocha and Assert

Testing is an integral part of software development. With the right test setup, this process can be automated, saving a lot of time. In this article, you’ll write tests for a Node.js TODO list module. You will set up and use the Mocha test framework to structure a series of integration tests. Then you’ll use the Node.js assert module to create the tests themselves. Finally, you will try out testing with asynchronous code, and use hooks to prepare your test fixtures and environments.

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