Introduction to Authentication
Explore adding authentication and authorization using middleware functions in a Deno web app. Understand how to connect the app to MongoDB for persistent storage. By the end, you will implement user registration, login, and protected routes, preparing your app for testing and deployment.
We'll cover the following...
We'll cover the following...
Introduction
Previously, we added an HTTP framework to our application, heavily simplifying our code. After that, we added the concept of users to the application and developed the register endpoint. In its current state, our application is already storing a couple of things, with the small gotcha that it’s storing in memory. We’ll tackle this specific issue in this ...