V School | Better Humans, Better Outcomes

Token Auth with JWTs Part 2 - React + Redux

This is part 2 of a multi-part series on setting up user authentication in a MERN-stack application using JSON Web Tokens. If you haven't been following along, please visit the other posts for a full understanding of the current project: 1. Authentication Basics 2. Token Auth with JWTs Part 1

Authentication Basics

Authentication is the process of allowing a user of your application to create an account, sign in, have specific user permissions, get data that only concerns them as a user, etc. Authentication includes a security concern (we don't want people to be able to see or manipulate each other's data)

Express req.params and req.query

When you're first learning about the Request/Response cycle, there's a fairly confusing topic that you'll run into frequently: URL parameters and query parameters (also called query strings). The reason these can be confusing is because people frequently interchange the two terms. So we're going to clarify what they are

Express Router

You have now experienced the beauty and simplicity of Node and Express - and you have created a few simple back-end servers and enabled your client to talk to it. How cool! So far we've been putting all of our routes on the app object that was created with the

Command-line game/utility

You're tasked with making a command-line game or utility of your own choosing that you will run using Node.js. Think in the past of the command-line programs we've written, such as the Look-it-up Dictionary, Penguins vs. Communists, Princess is in Another Castle, Battleship, etc. Well now you get to

V School | Better Humans, Better Outcomes © 2026