---
title: "Discussion on \"Role-Based Authorization in NodeJs\" | Hashnode"
description: "Discussion on \"Role-Based Authorization in NodeJs\". You've probably encountered apps or programs that provide services to users based on their role or membership type.\nAn excellent example is when a system's account types are divided into three categories: free, basic, and premium, where each account ..."
url: "https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Role-Based Authorization in NodeJs](https://spiffgreen.hashnode.dev/role-based-authorization-in-nodejs?utm_source=hashnode&utm_medium=feed)

You've probably encountered apps or programs that provide services to users based on their role or membership type. An excellent example is when a system's account types are divided into three categories: free, basic, and premium, where each account ...

Jun 7, 2022 · 8 min read · spiffgreen.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#jwt](https://hashnode.com/tag/jwt)
-   [#authorization](https://hashnode.com/tag/authorization)
-   [#authentication](https://hashnode.com/tag/authentication)
-   [#express](https://hashnode.com/tag/express)

## Written by

[Spiff Jekey-Green](https://hashnode.com/@SpiffGreen)

@SpiffGreen

  
[View profile](https://hashnode.com/@SpiffGreen)

Software Engineer

I am a software developer who enjoys learning new things and writing about them.

## Responses 5

Markdown supported · ⌘↵ to post

[Araxas](https://hashnode.com/@Araxas)

[Jun 14, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/62a881e70187d006b4f6fbe9)

So anyone have a zip or something of the starter app since it appears the repo is gone already?

[Spiff Jekey-Green](https://hashnode.com/@SpiffGreen)

[Jun 16, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/62a881e70187d006b4f6fbe9#reply-62aa83b41a89c91850b194ee)

Hello, please check the GitHub link it’s available [github.com/SpiffGreen/node\_auth\_tutorial](https://github.com/SpiffGreen/node_auth_tutorial)

[Spiff Jekey-Green](https://hashnode.com/@SpiffGreen)

[Jun 16, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/62a881e70187d006b4f6fbe9#reply-62ab52e82b2b09182b656631)

Please check the repository again it’s there

[Jawad Rahim](https://hashnode.com/@jawadur)

[Jun 14, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/62a81309ddf27ef9ab05ef70)

Great content

[Shubham Kumar Singh](https://hashnode.com/@shubhamsinghbundela)

[Jun 10, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/62a3b248165482d2b3eea34f)

Thanks [Spiff Jekey-Green](https://hashnode.com/@SpiffGreen)

[Jawad Rahim](https://hashnode.com/@jawadur)

[Jun 10, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/62a309491ba253b13869aecf)

wow, really good explaination. Keep up the good work !!

[Spiff Jekey-Green](https://hashnode.com/@SpiffGreen)

[Jun 11, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/62a309491ba253b13869aecf#reply-62a43de5a2c282d2d837886e)

Thanks for the feedback

[Victor Eke](https://hashnode.com/@Eke)

[Jun 7, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/629f13494d2584547c17ee21)

Love how you explained each step in a clear and concise way. For a first time article, this is a great start. ⭐️

[Spiff Jekey-Green](https://hashnode.com/@SpiffGreen)

[Jun 7, 2022](https://hashnode.com/posts/role-based-authorization-in-nodejs/629eee60a6bfa05457953a50/comment/629f13494d2584547c17ee21#reply-629f6ea235465b6263092a97)

Thanks I really appreciate
