@node-c/core 1.0.0-alpha1 → 1.0.0-alpha2

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.
Files changed (26) hide show
  1. package/README.md +3 -27
  2. package/coverage/clover.xml +300 -169
  3. package/coverage/coverage-final.json +6 -6
  4. package/coverage/index.html +33 -33
  5. package/dist/app.js +2 -1
  6. package/dist/app.js.map +1 -1
  7. package/dist/common/configProvider/configProvider.definitions.d.ts +3 -1
  8. package/dist/common/configProvider/configProvider.definitions.js.map +1 -1
  9. package/dist/common/configProvider/configProvider.service.js +30 -2
  10. package/dist/common/configProvider/configProvider.service.js.map +1 -1
  11. package/dist/domain/entityService/domain.entity.service.d.ts +24 -9
  12. package/dist/domain/entityService/domain.entity.service.definitions.d.ts +30 -0
  13. package/dist/domain/entityService/domain.entity.service.definitions.js +9 -0
  14. package/dist/domain/entityService/domain.entity.service.definitions.js.map +1 -0
  15. package/dist/domain/entityService/domain.entity.service.js +112 -12
  16. package/dist/domain/entityService/domain.entity.service.js.map +1 -1
  17. package/dist/domain/entityService/index.d.ts +1 -0
  18. package/dist/domain/entityService/index.js +1 -0
  19. package/dist/domain/entityService/index.js.map +1 -1
  20. package/dist/persistance/entityService/persistance.entity.service.d.ts +9 -8
  21. package/dist/persistance/entityService/persistance.entity.service.definitions.d.ts +11 -11
  22. package/dist/persistance/entityService/persistance.entity.service.definitions.js +15 -15
  23. package/dist/persistance/entityService/persistance.entity.service.definitions.js.map +1 -1
  24. package/dist/persistance/entityService/persistance.entity.service.js +3 -0
  25. package/dist/persistance/entityService/persistance.entity.service.js.map +1 -1
  26. package/package.json +2 -2
package/README.md CHANGED
@@ -1,28 +1,4 @@
1
- # Node-C
2
- An end-to-end NodeJS framework for building DDD apps on top of NestJS.
1
+ # Node-C / Core
2
+ This is Node-C's core package. It provides the architectural outline classes, and common functionalities and interfaces for building BE apps with the framework.
3
3
 
4
- The goal of this module is to speed up development as much as possible. It provides a clean, reliable and customizable back-end setup out of the box, at the cost of some opinionation.
5
-
6
- By using Node-C, you get to focus on what your project does, instead of worrying about how it does it.
7
-
8
-
9
- ## Overview
10
- Node-C divides your application code in 3 distinct layers:
11
- - Persistance - where the code related to any kind of persistance lives. That includes modules for both permanent storage and cache.
12
- - Domain - the modules here contain your business logic, split by domain. They work with the Persistance modules and with each other.
13
- - Api - these modules expose different sets of endpoints for external communication. They work with the Domain modules, rather than the Persistance modules directly.
14
-
15
-
16
- ## Getting Started
17
- **Note**: this example assumes you have redis installed and running on localhost:6379
18
-
19
- Install the minimal Node-C example repo:
20
- ```bash
21
- npx @node-c/apps-minimal install
22
- ```
23
-
24
- You should now have a server running at http://localhost:3000. Try calling the /test endpoint:
25
- ```bash
26
- # This should return { "message": "Hello world" } with status 200.
27
- curl http://localhost:3000
28
- ```
4
+ The documentation can be found on the [Node-C Github repo homepage](https://github.com/RazorDude/node-c).