Nuxt 3 JWT authentication using $fetch and Pinia
i’m gonna share everything, even the parts you marked as done, for completeness sake. Firstly, you will need something to generate a JWT in the backend, you can do that plainly without any packages, but i would recommend this package for that. Also i’ll use objection.js for querying the database, should be easy to understand … Read more