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.


Retrieve a Request’s IP Address in Node.js

Web frameworks in Node.js provide a request object containing information from the requesting instance. The request object typically includes the IP address of the requesting client. If you want to geo-locate the requesting user, the IP address is helpful. This tutorial shows you how to retrieve the client IP …

Continue Reading

hapi — How to Fix “Unsupported Media Type”

The “unsupported media type“ error occurred while uploading a file to a hapi server. The file is an Excel sheet and at first, it seemed like the content type was the issue. But the problem was the multipart upload which comes with a straightforward fix! {{outline}} Fixing “Unsupported Media Type” …

Continue Reading

git — 'flow' Is Not a git Command

Using git as your version control system comes with different ways to structure your repository. A popular approach using git successfully in your project is the git flow branching model from Vincent Driessen. When running into the error git: 'flow' is not a git command., you don’t have git …

Continue Reading

Generate Secure SSH Keys

As a software developer, you’re most likely using SSH keys. Doing system administration or pushing commits to your source control like GitHub or GitLab is considered to be a best practice doing it over SSH with public key authentication instead of passwords. And because you’re doing both in …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.