This Authentication example app uses axios interceptor, access token stored in memory and refresh token stored in httpOnly cookie, Private Routing...
First, clone the repo and run the following command
npm i or npm install
also create a .env file in back folder ( server ) file with below configs
APP_NAME=you app name
MONGO_URL=mongodb connection url
PORT=8081
ACCESS_SECRET_KEY=strong key for accesstoken
REFRESH_SECRET_KEY=strong key for refresh token