Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 777 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 777 Bytes

🚀 Demios API

develop

Start your Strapi application with autoReload enabled. Learn more

yarn install
yarn develop

Roles

Authenticated
Public
Employee
Manager
Supplier

Since Strapi version 4.2.2 the route api/users/me no longer returns the role field, but accepts populating. So now to get the user’s role you need to populate the role field, thus the call will be api/users/me?populate=role. Note that you also need to give the role permissions to find role too. Source

Controller customization

yarn strapi generate

⚙️ Deployment