Marcus

Marcus is a fullstack JS developer. He’s passionate about the hapi framework for Node.js and loves to build web apps and APIs. Creator of Futureflix and the “learn hapi” learning path.


Clone/Copy an Array in JavaScript and Node.js

You’re naturally in the needs of handy utilities when working with JavaScript handling arrays. Modern JavaScript frameworks —especially the frontend frameworks— abstract most of the DOM interaction. You’re focusing on the actual logic and implement the data handling. When implementing the logic, a handy utility related to JavaScript …

Continue Reading

Axios — Download Progress in Node.js

Axios provides a clean promise-based API to interact with HTTP endpoints. It supports a variety of formats and use-cases. A previous tutorial showed you how to download files with Axios in Node.js. This tutorial walks you through the process of adding a progress bar when downloading files with Axios …

Continue Reading

nginx — How to Serve a Static HTML Page

Nginx is a powerful reverse proxy routing your domains from the Internet to your applications. This tutorial shows you how to serve a static HTML page with nginx. It walks you through the required paths, files, and configurations. {{outline}} Serve Static HTML Pages with nginx We created a snake browser …

Continue Reading

nginx — Is Running but Not Serving Sites

We recently installed the (to this time) newest nginx version 1.17 on a new machine. The created configurations in sites-available were symlinked to sites-enabled, but nginx wasn’t serving any of the domains. The crux here, nginx used the different directory conf.d to store a catch-all default configuration. …

Continue Reading

learn hapi — What is JOSE in JWT

You may read the “JOSE” keyword when searching the Internet for details on JSON web tokens. Well, you’re likely to find “JOSE” in references to the JWT specification and not in actionable tutorials. What is JOSE in combination with JWT? That’s a good question! JWT defines the token …

Continue Reading
Page 1 of 35

Explore the Library

Find interesting tutorials and solutions for your problems.