Many to many relations

Options

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.

Tagged:

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options

    Hi @Hanan Radwan can you perhaps elaborate on both 1 and 2

    1 - what are marks in this context how do they relate to your database schema?

    2 - what is "all this information" you wish to input? If you can better describe the desired experience from your front-end perhaps I can help guide you high-level on what this would look like in an API endpoint