How to get this running
-
Create a local database via docker with
docker run --name quick-thanks -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres
-
add the following to .env:
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/mydb?schema=public"
-
Run
npx prisma db push
-
Run
npx prisma studio
and add some users and recognitions via the UI. -
Run
npm run dev
-
Make sure you have
GITHUB_ID
GITHUB_SECRET
NEXTAUTH_URL
env variablest set in.env
file.