ionic-team / ionic-team/demo-ionic-nest-tutorial

Question: SHARED Package

未关闭
#2 2 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
23
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

审查现有的客户端和服务器端软件包,并将服务器端强类型的 Mission 类与客户端中对应的使用方式进行比较。确定共享通用模型和接口的范围及软件包结构,并将完成标准定义为双方都使用共享定义,且不存在重复的结构。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
full-stack
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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