You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: running npm install after version was updated in main
* feat: add demo for internationalization
* feat: add next-i18next files to included_files
* test: add files to test
* chore: remove readme
* chore: remove confusing lang in readmes
* chore: re-add accidentally deleted readme
* chore: add site url for demo
* chore: force to always build so cypress runs work
* chore: remove redefined value
* chore: force new build with diff
* chore: prettier
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1
+
This is a [Next.js](https://nextjs.org/) project bootstrapped with
@@ -14,9 +15,11 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the
14
15
15
16
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
16
17
17
-
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
18
+
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on
19
+
[http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
18
20
19
-
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
21
+
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as
22
+
[API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
20
23
21
24
## Learn More
22
25
@@ -25,10 +28,5 @@ To learn more about Next.js, take a look at the following resources:
25
28
-[Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
26
29
-[Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
27
30
28
-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
29
-
30
-
## Deploy on Vercel
31
-
32
-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
33
-
34
-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
31
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions
* Enter a redirect URI (for the purposes of this demo application you would use `http://localhost:3000/api/auth/callback/netlify`)
31
-
* Save the application, and copy the value for 'Client ID' as the `NETLIFY_CLIENT_ID` and the 'Client Secret' as the `NETLIFY_CLIENT_SECRET` into your `.env.local` file within the project
32
-
* If you're testing this on a deployed Netlify site you'll need to set the environment variables as part of the `Site Settings > Build & Deploy > Environment` settings. You'll also need to generate a `NEXTAUTH_SECRET` environment variable and set that for a production build.
- Enter a redirect URI (for the purposes of this demo application you would use `http://localhost:3000/api/auth/callback/netlify`)
32
+
- Save the application, and copy the value for 'Client ID' as the `NETLIFY_CLIENT_ID` and the 'Client Secret' as the `NETLIFY_CLIENT_SECRET` into your `.env.local` file within the project
33
+
- If you're testing this on a deployed Netlify site you'll need to set the environment variables as part of the `Site Settings > Build & Deploy > Environment` settings. You'll also need to generate a `NEXTAUTH_SECRET` environment variable and set that for a production build.
33
34
34
35
For configuring additional authentication providers, see the original documentation [here](https://github.com/nextauthjs/next-auth-example#3-configure-authentication-providers)
0 commit comments