akai-org / akai-org/put-wiki

expand lecturer API with storage and retrieval of consulations, timetables

未关闭
#121 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:backend type:task
主要语言
TypeScript
星标
6
派生
3
平均合并
3 天 17 小时
30 天内合并 PR
15

描述

## Summary
Expand the lecturer model and implement a synchronization mechanism to process and store complex data (consultations, timetables) supplied by the providers.

## [Acceptance criteria](https://www.atlassian.com/work-management/project-management/acceptance-criteria)
- [ ] Expand the `Lecturer` aggregate with consultations and a timetable collections.
- [ ] Create a command and use case for synchronization that calls the providers and updates the `Lecturer` aggregates in the db using `ILecturerRepository`.
- [ ] Update the endpoint from Issue 1 (Query) to correctly fetch and map the new sections (consultations, timetable, courses) into the resulting JSON.

## Notes
We do not query external providers on the fly when the frontend calls our API. Instead, the command created in this task (that can be scheduled by a cron job) processes, merges data from various sources, and saves it in our db. This keeps our endpoint fast and immune to external systems outages.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。