Skip to content

An example setup project for Drizzle ORM, PlanetScale and NextAuth

Notifications You must be signed in to change notification settings

miljan-code/drizzle-next-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a6c9726 · Jul 4, 2023

History

8 Commits
Jul 4, 2023
Jun 18, 2023
Jun 18, 2023
Jul 4, 2023
Jun 16, 2023
Jul 4, 2023
Jul 4, 2023
Jun 16, 2023
Jun 17, 2023
Jul 4, 2023
Jul 4, 2023
Jun 16, 2023
Jul 4, 2023
Jul 4, 2023
Jun 16, 2023
Jun 16, 2023
Jun 16, 2023

Repository files navigation

An example setup project for NextJS, Drizzle ORM, PlanetScale and NextAuth.

Usage

Clone this repo

git clone https://github.com/miljan-code/drizzle-next-auth.git

Install necessary dependencies

npm install
# or
yarn

Fill up .env

DATABASE_URL='mysql://username:passowrd@0.0.0.0/db' #PlanetScale

NEXTAUTH_URL='http://localhost:3000'
NEXTAUTH_SECRET=

GITHUB_ID=
GITHUB_SECRET=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

Run db migrations

npm run db:push

Run the development server

npm run dev
# or
yarn dev

Drizzle Adapter by @mattddean

About

An example setup project for Drizzle ORM, PlanetScale and NextAuth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published