Skip to content

πŸ”‘ KoaJS and NextJS session management with httpOnly cookies

Notifications You must be signed in to change notification settings

vinibgoulart/koa-next-cookies-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

KoaJS and NextJS session management

A session manager by httpOnly cookies using KoaJS and NextJS.

How To Use

# Clone this repository and go into
git clone https://github.com/vinibgoulart/koa-cookies-session
cd koa-cookies-session

# Install dependencies
yarn

# Run the server
yarn server

# Run the app
yarn app

API Routes

method endpoint protected what it do
GET / true access events data
POST /set-session false set session cookie

About

πŸ”‘ KoaJS and NextJS session management with httpOnly cookies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published