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

Question: SHARED Package

Ouverte
#2 2 commentaires 4 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
23
Forks
7
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript
Domaine
full-stack
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.