Skip to content

eduardopinheiromr/nextjs-auth-boilerplate

Repository files navigation

Next.js Boilerplate


Steps to use

To get social metatags -> https://metatags.io


To get favicon and others -> https://favicon.io/favicon-converter/


To auth with JWT, follow this steps:

1- Generate a random 32 characters base64 string, type in the console:

openssl rand -base64 32

2- Then add to .env file in AUTH_SECRET var


How to quickstart development

Inside the directory, run in terminal only once*:

yarn setup && yarn dev

*yarn setup will delete the .git folder, so you should run it only once. After this, run only yarn dev to start the development server.

Then, open in your browser http://localhost:3000/

Used Technologies

Next.js | Next-Auth | React Hook Forms + Yup | Chakra UI | TypeScript | Preact Compat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published