Many to many relations

Greetings to all.
My objective is to obtain an ultimate outcome similar to that.

I have created these tables with this relations

1- student: class_id
2- class: [teacher], [subject]
3- exam: class_id
4- subject.

From student API/ Get
I gather information about students, teachers, exams, and subjects.

I have two issues:
1- I am unsure where to add marks.
2- I need a tutorial on how to use an API post to input all this information from the front end.

Thank you for your assistance.

Working with APIs
1 reply