This is a T3 Stack project bootstrapped with create-t3-app.
A chat application, written in Next.js, with the use of tRPC, Zustand, Radix UI, Tailwind CSS, Pusher, Prisma.
Prior to setup, create an .env file based on the .env.example.
Then proceed:
npm install- Create PlanetScale MySQL database and add connection string as value for
DATABASE_URL npx prisma db push- Generate a secret value for
NEXTAUTH_SECRET. You can generate a new secret on the command line with:openssl rand -base64 32 - Create a Discord OAuth App and add values for
DISCORD_CLIENT_IDandDISCORD_CLIENT_SECRET - Create a GitHub OAuth App. Make sure to set Authorization callback URL to http://localhost:3000/api/auth/callback/github. After that add values for
GITHUB_CLIENT_IDandGITHUB_CLIENT_SECRET - Create Pusher account and add values for
PUSHER_APP_ID,PUSHER_APP_KEY,PUSHER_APP_SECRET,PUSHER_APP_CLUSTER,NEXT_PUBLIC_PUSHER_APP_KEY,NEXT_PUBLIC_PUSHER_APP_CLUSTER - Add values for
SUPER_ADMIN_NAMEandSUPER_ADMIN_EMAIL npx prisma db seednpm run dev






