Skip to content

Example BFF jwt authentication with Next.js and Django Rest Framework

Notifications You must be signed in to change notification settings

ryazantsevmaxim-main/JwtAuthNextDjango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

JWT Auth Next.js Django Rest Framework

Example BFF jwt authentication.

First Run

Backend:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 manage.py migrate
python3 manage.py runserver

Frontend:

cp .env.development .env.local
yarn install
yarn build
yarn start

Run

Backend:

python3 manage.py runserver

Frontend:

yarn build
yarn start

Source - Article JWT Authentication with NextJS BFF