In this episode, see how to add authentication to the different API routes. You’ll learn how to use middleware to protect routes and how authenticated users work in Vapor.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/21451628-server-side-swift-with-vapor/lessons/28