Skip to content

Jayvolr Posts

Who’s using Node.js?

Node.js is a lot younger than nearly all of its competitors, but in these last few years it seems to have been maturing at an impressive rate. A huge number of large enterprises have incorporated Node.js into their stack in some way or another. In this post I want to take a very quick look at just a handful of the companies that have used Node.js in production. NASA After a dangerous spacesuit malfunction during…

User Authentication in Node.js (Part 2 of 2)

Part 1: https://jayvolr.me/2017/08/23/user-authentication-in-node-js-part-1-of-2/ The first part of this two part series walked you through setting up the login functionality of an authentication strategy using Express, passport.js and MongoDB. In this second part, you’ll learn how to allow new users to create an account, how to securely store passwords, and how to use Redis to store sessions. I’ll also create a small notes application at the end to show off our authentication system in action. Registration We’ll…

User Authentication in Node.js (Part 1 of 2)

For me, learning to create my own user authentication functionality was a pivotal point in learning web development. It brought together so many things I had learned but hadn’t fully grasped how they might work together. Building an authentication system involves using a web framework, a database, a hashing function, an interface, user input, middleware, and more. Assuming you’re not new to Node, you’re probably familiar with a lot of the pieces, but maybe you…

Can Code be Too Elegant?

First of all, what do I mean exactly when I say “elegant code”? I’m not specifically talking about code that implements an algorithm like you might think of when you hear about “elegant” code. I have a much more rudimentary definition, but I think it’s justified. The way I look at it, there are 3 broad classifications of desireable code: Simple code This is code that is clean, plain, and easy to read and understand. “Clean…

Easily Setup a WordPress Blog on DigitalOcean

Setting up your very own blog might sound a lot harder than it actually is. But with WordPress and DigitalOcean, I really can’t imagine how it could be much easier. In 10 short minutes you can be up and running with a fully operating WordPress blog or site. Set up DigitalOcean The first step is to get a DigitalOcean account if you don’t already have one. Sign up with this link and you’ll receive $10…

How and Why to Start a Blog

Every professional developer should have a blog, but none more so than those who are trying to break into the field without any prior experience. Wouldn’t it be great if the first thing a potential employer sees when they Google your name is a link to your professional blog? When you have a blog with a consistent record of posts, people that come across it will view you as the expert. Blogging signals to people that you’re…