Role-based-JWT-Auth created token based auth with middleware role tested api using express.js and postgresSQL.