Nuxt, Drizzle ORM and SQLite – Integrating Nuxt Auth – Part 2



Nuxt, Drizzle ORM and SQLite – Integrating Nuxt Auth – Part 2

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

Drizzle ORM SQLite and Nuxt – Integrating Nuxt Auth – Part 2
#nuxt #sqlite #drizzle

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 a SQLite Database

This video builds upon the work done in the previous video in the series
Playlist – https://youtube.com/playlist?list=PL2PY2-9rsgl2oTkRvWJPFdB-gYFbTU7R0

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 – Modifying User Table To Support Authentication Using Drizzle
03:05 – Create API Route For User Registration
08:14 – Create API Route For User Login
14:25 – Integrate Login API Route Into Nuxt Auth
20:40 – Getting Custom Information Into Session
27:25 – Integrate Register API Route and Register User Page
33:40 – Login User After Registration Using NuxtAuth signIn Function

💥 LINKS
————————–
Nuxt Auth – https://sidebase.io/nuxt-auth/v0.6/getting-started
Drizzle Quick Start – https://orm.drizzle.team/docs/quick-start
Drizzle Kit – https://orm.drizzle.team/kit-docs/overview
Drizzle ORM Sqlite – https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-orm/src/sqlite-core/README.md
Better Sqlite 3 – https://github.com/WiseLibs/better-sqlite3

💥 Social Media
————————–
Twitter – https://twitter.com/aaronksaunders
Facebook – https://www.facebook.com/ClearlyInnovative
Instagram – https://www.instagram.com/aaronksaunders
Dev.to – https://dev.to/aaronksaunders

Comments are closed.