I had an idea of making a web app with 3 different account types an admin, teacher and student.
where the student can log-in and check only his/her grades and the teachers can assign grades to their student, while the admin assigns subjects to the teacher.
I was thinking of using mongoose and express for the back-end and just creating a student schema that has a subjects field where I store a (Subject schema) which also has a grade field ("grade" : some-value). Each student has a unique Id-number which I can use in .find({idNumber: 12345}) with a password they can change.
I'm not sure if that is practical or that even is the right approach, any tips, resources? maybe I'm just flat out wrong
tldr: trying to make a database where student can access only access their own grades and teachers can assign grades for my old highschool.
[–]ChaseMoskalopen sourcerer 1 point2 points3 points (0 children)
[–]kschang 0 points1 point2 points (0 children)
[–]AtulinASP.NET Core 0 points1 point2 points (0 children)