Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hombre2014/nextjs-14-auth-v5-tutorial

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.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /