Sessions are stored in Redis, so you should install it.
You should add to .env
:
- TOKEN_SERVICE_SECRET - app secret token
- TOKEN_SERVICE_OPEN - app public token
- JWT_SECRET - password for jwt
- COOKIE_SECRET - password for cookies
TOKEN_SERVICE_SECRET
and TOKEN_SERVICE_OPEN
may be generated in your github account.
JWT_SECRET
and COOKIE_SECRET
may be random, but should be consistent thru all projects.
npm i
npm build
npm start