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.
| URL | Method | Roles |
|---|---|---|
| /menu-items | GET | any |
| /menu-items/all | GET | admin |
- Run
npm installto install npm packages - Create your own ".env" file following ".env.example"
- Run
npm startto start server
