Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classes API #25

Closed
9 tasks done
Tracked by #1
arafaysaleem opened this issue Aug 23, 2021 · 2 comments
Closed
9 tasks done
Tracked by #1

Classes API #25

arafaysaleem opened this issue Aug 23, 2021 · 2 comments
Labels
epic Theme of work that contains several sub-tasks or Issues Priority: High Status: Completed

Comments

@arafaysaleem
Copy link
Collaborator

arafaysaleem commented Aug 23, 2021

Description

This epic is a sub goal of the epic for Complete REST API and provides functionality surrounding management of classes. This epic requires multiple endpoints to be setup and tested along with their detailed documentation.

Initiative / goal

This API impacts our timetable module as without classes we can't create timetables. We want to create classes, along with their respective days and timeslots. We want to allow students query classes based on subjects or teachers. We should work on this immediately after setting up Classrooms API.

Hypothesis

We must have Authentication, Teachers, Classrooms, Timeslots and Subjects API setup prior to this. The following is true by the end of this API

  • We can query/manage possible classes
  • We can query/manage schedules of a class

Acceptance criteria and must have scope

In the end we need to have a collection of following endpoints:

Note: 🔒 symbol indicates the route is protected and accessible to admin only

Stakeholders

None

Timeline

3 weeks are needed to setup all the foundation, along with testing and documentation. No blockers expected.

@arafaysaleem arafaysaleem added the epic Theme of work that contains several sub-tasks or Issues label Aug 23, 2021
@arafaysaleem
Copy link
Collaborator Author

Notes for later

To implement timetable generator on the front-end:

  1. Fetch all classes along with the timeslots, parse them into models.
  2. Create a HashMap of classes with the subjects as key and a List of classes for that subject as a value.
  3. When user selects a subject, fetch it's classes and filter the teachers in a list.
  4. Show those teachers in second dropdown. If teacher selected return specific class else return entire list of classes.

@arafaysaleem arafaysaleem mentioned this issue Aug 24, 2021
24 tasks
@arafaysaleem arafaysaleem changed the title [EPIC] Classes API Classes API Aug 24, 2021
@arafaysaleem
Copy link
Collaborator Author

Completed In #205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Theme of work that contains several sub-tasks or Issues Priority: High Status: Completed
Projects
None yet
Development

No branches or pull requests

1 participant