Next Auth V5 Advanced guide
- Major languages: TypeScript
- Framework: Next.js
- Libraries: Prisma, Auth.js, React
- cloning the repository by running
git clone [https://](https://github.com/Hombre2014/nextjs-14-auth-v5-tutorial.git)
- cd into the project directory
cd nextjs-14-auth-v5-tutorial
- Install the dependencies by running
npm install
oryarn install
- Run the development server by running
npm run dev
oryarn dev
- Open your browser and navigate to
http://localhost:3000
You will need to create a .env
file in the root of the project and add the following environment variables:
DATABASE_URL=
DIRECT_URL=
AUTH_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
RESEND_API_KEY=
NEXT_PUBLIC_APP_URL="http://localhost:3000" or your production URL
- Using Vercel
👤 Yuriy Chamkoriyski
- GitHub: @Hombre2014
- Twitter: @Chamkoriyski
- LinkedIn: axebit
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
Thanks to "Coding with Antonio" YouTube channel and AntonioErdeljac for his inspirational tutorial.
This project is MIT licensed.