diff --git a/.env b/.env new file mode 100644 index 0000000..146e4a1 --- /dev/null +++ b/.env @@ -0,0 +1,19 @@ +# When adding additional environment variables, the schema in "/src/env.js" +# should be updated accordingly. + +# Next Auth +# You can generate a new secret on the command line with: +# npx auth secret +# https://next-auth.js.org/configuration/options#secret +AUTH_SECRET="3s/7AKiCKcO5sfJLpP304y43i6mfE6T+LUkeglCxzns=" # Generated by create-t3-app. + +# Next Auth Discord Provider +AUTH_DISCORD_ID="hackrobot" +AUTH_DISCORD_SECRET="Xiao4669805" + +# Prisma +# https://www.prisma.io/docs/reference/database-reference/connection-urls#env +DATABASE_URL="file:./db.sqlite" + + +PORT="3001" diff --git a/.gitignore b/.gitignore index c24a835..6dc30a6 100644 --- a/.gitignore +++ b/.gitignore @@ -33,7 +33,7 @@ yarn-error.log* # local env files # do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables -.env +# .env .env*.local # vercel