• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Code The Dream School
Code the Dream Labs Logo

Code The Dream School

Main hub for class materials for Code the Dream’s classes

  • Code the Dream Home

Search Code The Dream School

CTD Node/Express Class Lesson 8: JWT Basics

Lesson Materials

In this lesson, you use JSON Web Tokens to authenticate requests from the front end to the back end. A sample front end is provided in the public directory. JSON Web Tokens (JWTs) are the standard way to authenticate when REST APIs are used.

The lesson starts at 5:05:30 of this video and continues to 6:28:50. As usual, you duplicate the steps that the instructor performs, testing with Postman as you go.

Assignments

Coding Assignment

You continue to work in the node-express-course repository. For this lesson, you work in the 05-JWT-Basics/starter directory. Create a new branch, week8. This branch should be created when the week7 branch is active. Then run npm install to install the required node packages.

Mindset Assignment

Your mindset assignment for this week can be found here: Willingness to Experiment

Submitting Your Work

When you are done, do the following, use the same procedure as for previous lessons. You do a git add, git commit, and git push for the week8 branch, create your pull request on github, and put a link to your pull request in your assignment submission form below.

When you’ve completed your Coding Assignment and Mindset Assignment this week, submit all of your work using:

Alpaca class use:Squibby 2.0 Assignment Submission Form
Baboon and any 2023 classes use:Homework Assignment Submission Form

Footer

Copyright © 2025 Code the Dream School | All Rights Reserved | Privacy Policy