Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 1.07 KB

File metadata and controls

58 lines (34 loc) · 1.07 KB

Getting Started

First, clone repository:

git clone https://github.com/DaliGabriel/NextAuthExample.git

Second, clone repository:

cd NextAuthExample/

Third, Install dependency:

npm install

Fourth, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Configure your local environment

Copy the .env.example file in this directory to .env (which will be ignored by Git):

cp .env.example .env

Add details providers (Google, GitHub), and your next auth url base for example: http://localhost:3000.

auth-example

Work flow

Home screen

"Home screen"

Login screen

"Login screen"

Sign up screen

"Sign up"

Dashboard screen

"Dashboard"