|
Download next.js/examples/auth/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/auth/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/auth/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/auth/README.md
1.06 kB
Authentication
This is an example using NextAuth.js for authentication.
Deploy your own
How to use
Execute create-next-app with npm, Yarn, pnpm, or Bun to bootstrap the example:
npx create-next-app --example auth auth-app
yarn create next-app --example auth auth-app
pnpm create next-app --example auth auth-app
bunx create-next-app --example auth auth-app
Deploy it to the cloud with Vercel (Documentation).