I am learning JWT authentication .As I don't have mentor to review my code which I learnt so I need stackoverflow commmunity to review my code . I used following language expressjs ,mongodb,jwt
here is my code which is on github enter link description here