@alevnyacow/nzmt 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,10 +20,13 @@ npx nzmt init prismaClientPath:@prisma/client
|
|
|
20
20
|
|
|
21
21
|
# product entity with title and price fields
|
|
22
22
|
npx nzmt entity product f:title-string,price-int.positive
|
|
23
|
+
|
|
23
24
|
# product store (with Prisma implementation, RAM implementation and DI)
|
|
24
25
|
npx nzmt store product
|
|
25
|
-
|
|
26
|
+
|
|
27
|
+
# product service with injected product store
|
|
26
28
|
npx nzmt service product i:ProductStore
|
|
29
|
+
|
|
27
30
|
# shop controller with injected shop service and logger
|
|
28
31
|
npx nzmt controller shop i:Logger,ProductService
|
|
29
32
|
```
|