- Generate your Google Oauth Credentials
Copy the .env.example
to .env.local
Create a MongoDB database and place the URL in the DATABASE_URL
environment variable.
Add your Google Client ID and Client Secret to your .env
file under:
GOOGLE_CLIENT_ID=<CLIENT_ID>
GOOGLE_CLIENT_SECRET=<CLIENT_SECRET>
Generate a Base64 string for the NEXTAUTH_SECRET
environment variable: openssl rand -base64 32
Generate Prisma Schema: npx prisma generate