Skip to content

possibilities/next-with-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js example with auth

CircleCI

Usage

First run the auth service in a terminal tab/window/panel

cd /tmp
git clone https://github.com/possibilities/micro-auth.git
cd micro-auth
npm install
AUTHENTICATION_SECRET_KEY=password123 API_PORT=5555 npm run dev

Then run the example app using the same secret and provide localhost as the api url

cd /tmp
git clone https://github.com/possibilities/next-with-auth.git
cd next-with-auth
npm install
AUTHENTICATION_SECRET_KEY=password123 AUTHENTICATION_API_URL=http://localhost:5555 npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published