Source code for video tutorial: Tutorial: Full Auth System with Next.js V13 (APP ROUTER) + TypeScript + Next-Auth + Prisma + MySQL
- Create a PlanetScale account and a database as shown in the video (5:00 to 9:00 in video).
- Copy the database URL from the PlanetScale dashboard and set it as the
DATABASE_URLenvironment variable in.env.
npm installnpx prisma generate
npx prisma db pushnpm run devThe easiest way to deploy this project is to use the Vercel Platform from the creators of Next.js.
Share the video and subscribe to the channel if you want to see more videos like this. I will be posting more videos on Next.js, React, TypeScript, and other web technologies, so stay tuned!