Authentication using JSON Web Tokens

Technology and applications have become a normal piece of everyday life. With that comes people wanting to protect their information, and their access to their various accounts. Authentication is a huge piece of web development and there are many approaches to secure a web application with authentication. Today we are going to explore JSON Web Tokens or JWT.

JWT is a simple and secure way of sending info between the client and the server. JWT uses an auth token that is composed of 3 parts, a header, a payload, and a signature.

  1. Header: Define token…


A compilation of some core concepts from React

So what is React?

React is a JavaScript library, not to be confused with a framework, for building UIs (User Interfaces). When using React you will most likely need other libraries to form solutions. React is flexible where frameworks are not and inflexibility can cause development problems. React follows the Unix philosophy:

The Unix philosophy emphasizes building simple, short, clear, modular, and extensible code that can be easily maintained and repurposed by developers other than its creators.

Why is React named “React” anyway?

When part of an input changes in React, the…


The basics of using fetch()

When building an application or website, more often than not you’re going to need to access outside data of all different types. The fetch() function is an abstracted form of multiple components used in AJAX.

AJAX does two things:

  • Delivers the initial page with HTML and CSS
  • Uses Javascript to add more to the DOM


Following a programmer’s principle…with caution.

“…but never duplicated, duplicated, duplicated, duplicated…”

One of the first things you learn as a beginning developer is that DRY code is the best. DRY or Don’t Repeat Yourself is defined by Andy Hunt and Dave Thomas in their book The Pragmatic Programmer as,

“Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.”

DRY code is considered best practice in most cases (more on that later). Having clean code that isn't redundant makes your work easier to read, update, debug, and reuse. Seems like common sense right? DRY code makes life easier in a few ways:

  • Looks pretty: Plain and simple…


Lesson 1: Imposter Syndrome

“One of these things is not like the other, one of these things just doesn’t belong…”

Any second now someone is going to realize that I don’t belong here, that I’m not qualified, that I have NO IDEA WHAT I’M DOING.

That might seem dramatic, but throughout my life and through a changing career path I’ve always had these thoughts. Thoughts that cause the inevitable procrastination, sleepless nights, and finishing just in the knick of time, as well as comparing myself to fellow peers, deeming them more successful than myself. As I got older it became…

Molly Dolan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store