git commit
run git commit
Press the Esc key and after that 'I' for insert mode. Type a commit message whatever you want. Press Esc after that ':wq' to save and exit from the editor. Hence, we have successfully made a commit.
req.jwt
in typescript we can not directly add value in req.token = token but here we can make custom file .d.ts extension and use declare namespace in this or simply we can use our express functionality here
res.locals
using res.locals we can directly set our token data in req res cycle and we can access only this request response cycle only
"http-errors"