In this platform, Schools are registered, along with their Students.
This is a Scope-based Authorization system ,
- where any Role (ex:
Admin,Student,Principal) - must have a scope (eg:
school-create,user-GET) with them - to perform any actions on the resources (eg:
User,School)
It basically has these models:
RoleUserStudentSchool
This is the crux of the platform:
Userssignup using Email and Password, and have someRoleassigned to them.- Every
Rolehas scopes, that lets them have permission to work on some resource. Usercan have multipleStudentassociated with them. Think of it like this: theUseris a parent, who can have multipleStudentprofiles for their children.
https://edtechmanagement.herokuapp.com/user/signup
https://edtechmanagement.herokuapp.com/user/signin
https://edtechmanagement.herokuapp.com/user
https://edtechmanagement.herokuapp.com/user/:id
https://edtechmanagement.herokuapp.com/role
https://edtechmanagement.herokuapp.com/role
https://edtechmanagement.herokuapp.com/student
https://edtechmanagement.herokuapp.com/student
https://edtechmanagement.herokuapp.com/school
https://edtechmanagement.herokuapp.com/school
https://edtechmanagement.herokuapp.com/school/students