Add Better Auth login to NestJS and Next.js.
Guides implementation of authentication in a NestJS backend and Next.js frontend using Better Auth and a PostgreSQL database.
When to use it
Use when setting up authentication, social login, protected routes, multi-factor authentication, or organization features in a NestJS and Next.js application.
Give it a NestJS and Next.js project; it adds database configuration, authentication integration, frontend pages, and optional authentication plugins.
What you provide
Requires Node.js 18 or later for Next.js App Router support.
Needs a PostgreSQL database reachable through DATABASE_URL for the database connection and migrations.
Uses psql to verify that the authentication tables were created.
This skill
PostgreSQL
Creates PostgreSQL authentication tables