feat: prisma, postgresql, and upgrade to auth.js@beta

This commit is contained in:
trafficlunar 2025-03-29 21:55:04 +00:00
parent 54fee71491
commit 7b799405dc
12 changed files with 720 additions and 147 deletions

View file

@ -1,7 +1,9 @@
NEXTAUTH_URL=https://tomodachishare.trafficlunar.net
DATABASE_URL="postgresql://postgres:frieren@localhost:5432/tomodachi-share?schema=public"
NEXTAUTH_URL=https://tomodachi-share.trafficlunar.net
AUTH_SECRET=XXXXXXXXXXXXXXXX
DISCORD_ID=XXXXXXXXXXXXXXXX
DISCORD_SECRET=XXXXXXXXXXXXXXXX
GITHUB_ID=XXXXXXXXXXXXXXXX
GITHUB_SECRET=XXXXXXXXXXXXXXXX
AUTH_DISCORD_ID=XXXXXXXXXXXXXXXX
AUTH_DISCORD_SECRET=XXXXXXXXXXXXXXXX
AUTH_GITHUB_ID=XXXXXXXXXXXXXXXX
AUTH_GITHUB_SECRET=XXXXXXXXXXXXXXXX