Skip to content

A Nest.js Boilerplate Using Drizzle + Postgres and integrates Auth.js.

License

Notifications You must be signed in to change notification settings

innei-template/nest-drizzle-authjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nest Drizzle + Auth.js

A Simple Nest.js Template Using Drizzle + Postgres, Auth.js.

Demo

CleanShot 2024-07-14 at 10  07 03

Getting Started

Clone this project. Install the dependencies using pnpm. Copy the example environment variables.

git clone https://github.com/innei-template/nest-drizzle.git
cp .env.template .env
pnpm i

Configure Auth.js

The configuration is located at /apps/core/src/modules/auth/auth.config.ts Please change your desired Provider here, GitHub OAuth is used by default.

AUTH_SECRET is a 64bit hash string, you can generate by this command.

openssl rand -hex 32

License

2024 © Innei, Released under the MIT License.

Personal Website · GitHub @Innei

About

A Nest.js Boilerplate Using Drizzle + Postgres and integrates Auth.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published