This is a T3 Stack project bootstrapped with create-t3-app
.
A chat application, written in Next.js, with the use of tRPC, NextAuth.js, Tailwind CSS, Prisma.
Prior to setup, create an .env
file based on the .env.example
.
Then proceed:
pnpm install
DATABASE_URL
npx prisma db push
NEXTAUTH_SECRET
. You can generate a new secret on the command line with: openssl rand -base64 32
GOOGLE_CLIENT_ID
and GOOGLE_CLIENT_SECRET
DISCORD_CLIENT_ID
and DISCORD_CLIENT_SECRET
GITHUB_CLIENT_ID
and GITHUB_CLIENT_SECRET
EMAIL_SERVER_USER
, EMAIL_SERVER_PASSWORD
, EMAIL_SERVER_HOST
, EMAIL_SERVER_PORT
, EMAIL_FROM
VIRUS_TOTAL_API_KEY
npx prisma db seed
pnpm run dev