expand lecturer API with storage and retrieval of consulations, timetables
- 主要语言
- 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 还没有评估数据。