Skip to content

Hombre2014/nextjs-14-auth-v5-tutorial

Folders and files

NameName
Last commit message
Last commit date
Mar 22, 2025
Mar 19, 2024
Feb 24, 2024
Feb 24, 2024
Feb 24, 2024
Mar 19, 2024
Feb 24, 2024
Feb 24, 2024
Feb 24, 2024
Aug 1, 2024
Feb 24, 2024
Mar 22, 2025
Aug 1, 2024
Mar 19, 2024
Mar 22, 2025
Feb 24, 2024
Feb 24, 2024
Mar 22, 2025
Mar 19, 2024
Feb 24, 2024
Mar 22, 2025
Mar 22, 2025
Feb 24, 2024
Feb 24, 2024
Feb 24, 2024
Feb 24, 2024

Repository files navigation

Auth V5

Next Auth V5 Advanced guide

Built With

  • Major languages: TypeScript
  • Framework: Next.js
  • Libraries: Prisma, Auth.js, React

Screenshots

screenshot

Getting Started

  • 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 or yarn install
  • Run the development server by running npm run dev or yarn dev
  • Open your browser and navigate to http://localhost:3000

Environment Variables

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

Live Demo

Auth v5 demo

Deployment

Author

πŸ‘€ Yuriy Chamkoriyski

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

Thanks to "Coding with Antonio" YouTube channel and AntonioErdeljac for his inspirational tutorial.

πŸ“ License

This project is MIT licensed.