If getting Internal server error (fix npm and node version) If getting 403 then check user-role API permission npm uninstall -g npm
npm install -g npm@8.5.5
uninstall nodejs from downloads (If already installed)
https://nodejs.org/download/release/v16.15.0/
Download (node-v16.15.0-x86.msi ) or use node version manager (nvm)
go to the /backend dir and run
npm install
now run
npm run dev
-> login or signup to strapi’s administrative panel -
go to settings options in left side bar.
-under USERS & PERMISSIONS PLUGIN in roles:
-add new role
-Enter name - admin
-
give required permissions
-
save it
-add new role
-Enter name - coordinator
-
give required permissions
-
save it
-add new role
-Enter name - student
-
give required permissions
-
save it
-add new role
-Enter name - company
-
give required permissions
-
save it