10

Session Management

In Chapter 9, Tailwind, Middleware, and CORS, we created a full-stack app with an independent frontend and backend talking to each other via an API.

In this chapter, we’ll bring all of our existing knowledge together, introduce how to create and validate JSON Web Tokens (JWTs) for session management and middleware, set up the basic tenets of using Vue Router with navigation guards, and learn about errors and “catch-all” navigation guards.

We’ll cover the following topics in this chapter:

  • Session management and JWTs
  • (Re)introducing Vue Router
  • Navigation guards
  • Defaults and error pages

By the end of this chapter, we’ll have an understanding of how to complete and secure a project ready for our waiting users.

Technical requirements ...

Get Full-Stack Web Development with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.