Next 13, Next-Auth with Neon Postgres and Drizzle vs Prisma 5
I am trying to set up Next-Auth with Neon Postgres and Drizzle, but failing miserably.
I set up a repo with several branches, including configurations for:
1) Next 13, Next-Auth, Neon Postgres, Prisma 5 2) Next 13, Next-Auth, PlanetScale MySQL, Prisma 5 3) Next 13, Next-Auth, Neon Postgres, Drizzle
The first two work perfectly fine, I am able to authenticate and store users in a database, regardless of whether they are signing up with password, magic links, or OAuth providers.
However, I am facing weird issues with the Drizzle branch, particularly with getUserByEmailAction and other similar
.select()
.select()
-based queries, which for some weird reason sometimes return undefined.
Starter templates for Next.js 13 full-stack projects. Built with Tailwind CSS, ShadCn, authentication, and database. Several branches contain several different configurations, including serverless ...