Nuxt, Drizzle ORM and SQLite - Integrating Nuxt Auth - Part 1

Опубликовано: 03 Октябрь 2024
на канале: Aaron Saunders
1,641
38

Drizzle ORM SQLite and Nuxt - Integrating Nuxt Auth - Part 1
#nuxt #sqlite #drizzle

In this series, we will use the package @sidebase/nuxt-auth - to implement email + password authentication in the application. We will create a login and register API routes that utilize Drizzle ORM connected to an SQLite Database

This video will get us started with Nuxt Auth with no database integration for register user and user authentication

This video builds upon the work done in the previous video in the series
- Drizzle -    • Nuxt, Drizzle ORM and SQLite -  An In...  

Nuxt Auth - Nuxt user authentication and sessions via authjs (next-auth), local and refresh providers. nuxt-auth wraps NextAuth.js to offer the reliability & convenience of a 12k star library to the nuxt 3 ecosystem with a native developer experience (DX)

💥 Sign Up For Our Newsletter​ - https://buff.ly/3lAk2jL

💥 Chapters
--------------------------
00:00 - Introduction
00:52 - Nuxt Auth, Finding The Right Package
01:38 - Installing Packages, Configuring Project
03:18 - Adding NuxtAuthHandler from Sample Provided and Test
09:37 - Using useAuth to get Some Data On Authenticated User
11:20 - Adding SignOut using useAuth
12:40 - Demonstrating Protected API Routes with getSession
18:00 - Whats Next..

💥 LINKS
--------------------------
Nuxt Auth - https://sidebase.io/nuxt-auth/v0.6/ge...
Drizzle Quick Start - https://orm.drizzle.team/docs/quick-s...
Drizzle Kit - https://orm.drizzle.team/kit-docs/ove...
Drizzle ORM Sqlite - https://github.com/drizzle-team/drizz...
Better Sqlite 3 - https://github.com/WiseLibs/better-sq...

💥 Social Media
--------------------------
Twitter -   / aaronksaunders  
Facebook -   / clearlyinnovative  
Instagram -   / aaronksaunders  
Dev.to - https://dev.to/aaronksaunders