ionic-team / ionic-team/demo-ionic-nest-tutorial
Question: SHARED Package
- Ngôn ngữ chính
- TypeScript
- Star
- 23
- Fork
- 7
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Dear @elylucas , ionic team and community,
thank you very much for this nice tutorial on how to build a backend (with NestJS) and frontend (with Ionic) and the corresponding starter package here. However, i was wondering, if it would be possible to add some kind of shared package (besides the client and server package) that share some common models and interfaces.
Currently, for example, the server has strongly typed classes (e.g., the `Mission`), however, the client does not get this model definition.
On the one hand, this would reduce the need to maintain the same structures on client and server side. On the other, both parts (client & server) would work with / on the same structures. What do you think about this?
All the best
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Review the existing client and server packages and compare the server's strongly typed Mission class with the corresponding client usage. Decide the scope and package structure for sharing common models and interfaces, then define completion as both sides consuming the shared definitions without duplicated structures.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- full-stack
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100