Skip to content

Limerin555/node_express_keycloak_rbac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Express Keycloak RBAC

alt text

This is a Node + Express project for a tutorial on Medium.

The tutorial is a simple demonstration of how you can implement Role Based Access Control (RBAC) with Keycloak authentication into your Node & Express REST API.

Routes

URL Method Roles
/menu-items GET any
/menu-items/all GET admin

Local Installation Guide

  1. Run npm install to install npm packages
  2. Create your own ".env" file following ".env.example"
  3. Run npm start to start server