p7-projekt / api-backend

Backend API
MIT License
0 stars 0 forks source link

Instructor created sessions #19

Closed JMyrtue closed 2 weeks ago

JMyrtue commented 1 month ago

Reference Issues

No response

Summary

Instructors must be able to create a session with exercises associated.

Entails:

Basic Example

.

Drawbacks

.

Unresolved questions

Exercises must be pre-served to the client, such that they can sent with the session-creation request.

KristianS93 commented 2 weeks ago

Rest naming conventions: https://stackoverflow.blog/2020/03/02/best-practices-for-rest-api-design/#h-name-collections-with-plural-nouns

KristianS93 commented 2 weeks ago

@39 when doing the authentication of especially anonymous users should be related to the students tables, however it should be renamed to participants. Maybe even anonymous participants, as this should be the only purpose of the table.

KristianS93 commented 2 weeks ago

We should consider how it should work with joining a session, right now the anonymous user role doesnt really get used in the temporary student table. Should the role anonymous user exist outside of the run time ?