Skip to content

hulin32/nextjs-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo for sharing login between nextjs and session based Website

express folder host login page

nextjs folder host profile

how to start it:

docker-compose up --build

(required docker)

After start the service, you can access the http://localhost/login which comes from express, then login with admin and any password, then redirect to profile page, which hosted in nextjs, from profile page we can get user info from express

About

Demo for sharing login between nextjs and session based Website blog, https://hulin.dev/tech/nextjs-react/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published